COleDropTarget::OnDragLeave

Called by the framework when the cursor leaves the window while a dragging operation is in effect.

virtual void OnDragLeave(
   CWnd* pWnd 
);

Parameters

  • pWnd
    Points to the window the cursor is leaving.

Remarks

Override this function if you want special behavior when the drag operation leaves the specified window. The default implementation of this function calls CView::OnDragLeave.

For more information, see IDropTarget::DragLeave in the Windows SDK.

Requirements

Header: afxole.h

See Also

Concepts

COleDropTarget Class

COleDropTarget Members

Hierarchy Chart

COleDropTarget::OnDragEnter

COleDropTarget::OnDragOver

COleDropTarget::OnDrop

COleDropTarget::OnDropEx