|
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
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|