CImageList::SetDragCursorImage
Creates a new drag image by combining the given image (typically a mouse cursor image) with the current drag image.
BOOL SetDragCursorImage(
int nDrag,
CPoint ptHotSpot
);
nDrag
Index of the new image to be combined with the drag image.ptHotSpot
Position of the hot spot within the new image.
Nonzero if successful; otherwise 0.
Because the dragging functions use the new image during a drag operation, you should use the Windows ShowCursor function to hide the actual mouse cursor after calling CImageList::SetDragCursorImage. Otherwise, the system may appear to have two mouse cursors for the duration of the drag operation.
Header: afxcmn.h