HDN_ENDDRAG

This notification message is sent by a header control when a drag operation has ended on one of its items. It is sent only by header controls set to the HDS_DRAGDROP style, and is sent as a WM_NOTIFY message.

HDN_ENDDRAG pNMHeader = (LPNMHEADER) lParam;

Parameters

  • pNMHeader
    Pointer to an NMHEADER structure that contains data about the header item dragged

Return Values

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

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

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

HDM_SETITEM, HDM_SETORDERARRAY, WM_NOTIFY, NMHEADER

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.