CImageList::GetDragImage

Gets the temporary image list that is used for dragging.

static CImageList* PASCAL GetDragImage(
   LPPOINT lpPoint,
   LPPOINT lpPointHotSpot 
);

Parameters

  • lpPoint
    Address of a POINT structure that receives the current drag position.

  • lpPointHotSpot
    Address of a POINT structure that receives the offset of the drag image relative to the drag position.

Return Value

If successful, a pointer to the temporary image list that is used for dragging; otherwise, NULL.

Requirements

Header: afxcmn.h

See Also

Reference

CImageList Class

Hierarchy Chart

CImageList::SetDragCursorImage

Other Resources

CImageList Members