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