Header_CreateDragImage

This macro creates a transparent version of an item image within an existing header control.

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later
Related message: HDM_CREATEDRAGIMAGE

Syntax

HIMAGELIST Header_CreateDragImage(HWND hwndHD, int iIndex);

Parameters

hwndHD

Handle to a header control.

iIndex

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.