Windows Dev Center

Header_CreateDragImage macro

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


HIMAGELIST Header_CreateDragImage(
   HWND hwndHD,
   int  iIndex
);

Parameters

hwndHD

Type: HWND

A handle to a header control.

iIndex

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

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft