Share via


Header_CreateDragImage

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

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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h   Commctrl.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

HDM_CREATEDRAGIMAGE

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.