Share via


CImageList::EndDrag

Call this function to end a drag operation.

static void PASCAL EndDrag( );

Remarks

To begin a drag operation, use the BeginDrag member function.

Example

void CImageListDlg::OnLButtonUp(UINT nFlags, CPoint point)
{
   // Terminate the drag image (usually called from WM_LBUTTONUP).
   m_myImageList.DragLeave(this);
   m_myImageList.EndDrag();

   CDialog::OnLButtonUp(nFlags, point);
}

Requirements

Header: afxcmn.h

See Also

Reference

CImageList Class

Hierarchy Chart

CImageList::BeginDrag

CImageList::Draw

CImageList::DragMove

Other Resources

CImageList Members