ImageList_SetDragCursorImage
This function creates a new drag image by combining the specified image with the current drag image.
BOOL WINAPI ImageList_SetDragCursorImage(
HIMAGELIST himlDrag,
int iDrag,
int dxHotspot,
int dyHotspot );
Parameters
- himlDrag
[in] Handle to the image list that contains the new image to combine with the drag image. - iDrag
[in] Index of the new image to combine with the drag image. - dxHotspot and dyHotspot
[in] Specifies the position of the hot spot within the new image.
Return Values
Nonzero indicates success. Zero indicates failure.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.0 and later | Commctrl.h | Commctrl.lib, Imgctl.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
ImageList_EndDrag, ImageList_BeginDrag
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.