The ImageList_SetDragCursorImage function creates a new drag image by combining the specified image (typically a mouse cursor image) with the current drag image.
BOOL ImageList_SetDragCursorImage(
HIMAGELIST himlDrag, | |
int iDrag, | |
int dxHotspot, | |
int dyHotspot | |
); |
Parameters
himlDrag
Handle to the image list that contains the new image to combine with the drag image.
iDrag
Index of the new image to combine with the drag image.
dxHotspot and dyHotspot
Position of the hot spot within the new image.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.