Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
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_NOTIFYmessage.
Syntax
HDN_BEGINDRAG pNMHeader = (LPNMHEADER) lParam; |
Parameters
- pNMHeader
-
Pointer to an NMHEADERstructure that contains data about the header item dragged.
Return Value
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
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |