IDropTarget::DragLeave

Removes target feedback and releases the data object.

HRESULT DragLeave(void);

Return Values

S_OK

The function completed its task successfully.

E_OUTOFMEMORY

Out of memory.

Comments

The DoDragDrop function calls this method in either of the following cases:

  • When the user drags the cursor out of a given target window.

  • When the user cancels the current drag-and-drop operation.

In the IDropTarget::DragLeave method, you must remove any target feedback that is currently displayed. You must also release any references you hold to the data transfer object.

See Also

DoDragDrop, IDropSource, IDropTarget, RegisterDragDrop, RevokeDragDrop

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database