HDN_BEGINDRAG (Windows CE 5.0)

Send Feedback

This message is sent by a header control when a drag operation has begun 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_BEGINDRAGpNMHeader = (LPNMHEADER)lParam;

Parameters

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

Return Values

To enable the header control to automatically manage drag-and-drop operations, return FALSE. If the owner of the control is manually performing drag-and-drop reordering, return TRUE.

Remarks

A header control defaults to automatically managing drag-and-drop reordering. Returning TRUE to indicate external (manual) drag-and-drop management enables the owner of the control to provide custom services as part of the drag-and-drop process.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

Header Controls Notifications | WM_NOTIFY | NMHEADER

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.