Header_CreateDragImage macro (commctrl.h)

Creates a transparent version of an item image within an existing header control. You can use this macro or send the HDM_CREATEDRAGIMAGE message explicitly.

Syntax

void Header_CreateDragImage(
   hwnd,
   i
);

Parameters

hwnd

Type: HWND

A handle to a header control.

i

Type: int

A 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 value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h