HDM_CREATEDRAGIMAGE

This message creates a transparent version of an item’s image within an existing header control.

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later
Related macro: Header_CreateDragImage

Syntax

HDM_CREATEDRAGIMAGE wParam = (WPARAM) (int) iIndex;
lParam = 0;

Parameters

iIndex

Zero-based index of the item within the header control. The image assigned to this item is the basis for the transparent image.

Return Values

Returns a handle to an image list that contains the new image as its only element