Export (0) Print
Expand All

HDN_ENDDRAG notification code

Sent by a header control when a drag operation has ended on one of its items. This notification code is sent as a WM_NOTIFY message. Only header controls that are set to the HDS_DRAGDROP style send this notification code.


HDN_ENDDRAG

   pNMHeader = (LPNMHEADER) lParam;

Parameters

lParam

A pointer to an NMHEADER structure containing information about the header item that was being dragged.

Return value

To allow the control to automatically place and reorder the item, return FALSE. To prevent the item from being placed, return TRUE.

Remarks

If the owner is performing external (manual) drag-and-drop management, it must return FALSE. The owner then must reorder header items manually by sending HDM_SETITEM or HDM_SETORDERARRAY.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft