Header_CreateDragImage (Windows CE 5.0)
This macro creates a transparent version of an item image within an existing header control.
#define Header_CreateDragImage(hwnd, i) \ (HIMAGELIST)SNDMSG((hwnd), HDM_CREATEDRAGIMAGE, (WPARAM)i )
Parameters
- hwnd
Handle to a header control. - i
Zero-based index of the item within the header control. The image assigned to this item is used as the basis for the transparent image.
Return Values
Returns a handle to an image list that contains the new image as its only element.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.
See Also
Header Controls Macros | HDM_CREATEDRAGIMAGE
Send Feedback on this topic to the authors