CImageList::DragMove

static BOOL DragMove( CPoint pt );

Return Value

Nonzero if successful; otherwise 0.

Parameters

pt

New drag position.

Remarks

Call this function to move the image that is being dragged during a drag-and-drop operation. This function is typically called in response to a WM_MOUSEMOVE message. To begin a drag operation, use the BeginDrag member function.

Example

// The pointer to my image list.
extern CImageList* pmyImageList;
// The position of the cursor.
extern CPoint myPoint;

// Move the drag image to the next position (usually called 
// from WM_MOUSEMOVE).
pmyImageList->DragMove(myPoint);

CImageList OverviewClass MembersHierarchy Chart

See Also   CImageList::BeginDrag, CImageList::EndDrag, CImageList::Draw