다음을 통해 공유


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

Concepts

CImageList Class

CImageList Members

Hierarchy Chart

CImageList::BeginDrag

CImageList::Draw

CImageList::DragMove