ImageList_SetDragCursorImage

This function creates a new drag image by combining the specified image with the current drag image.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

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.

See Also

ImageList_EndDrag, ImageList_BeginDrag