CHeader.CreateDragImagemethod
Creates a transparent version of an item image within an existing header control.
Syntax
FUNCTION CreateDragImage (BYVAL hHeader AS HWND, BYVAL i AS LONG) AS HIMAGELIST
Parameters
| Name | Description | |
|---|---|---|
hHeader | The handle of the header control. | |
i | The zero-based index of the item within the header control. The image assigned to this item is the basis for the transparent image. |
Return value
Returns a handle to an image list that contains the new image as its only element.
Description
Creates a semi-transparent version of an item's image for use as a dragging image.
Reference
- Include file
CHeader.inc - Defined in AfxNova/CHeader.inc:138
- Documented in Windows/WIndows Controls/CHeader Class.md
- Topic: CHeader Class