IDropTarget::DragLeave method (oleidl.h)
Removes target feedback and releases the data object.
Syntax
HRESULT DragLeave();
Return value
This method returns S_OK on success. Other possible values include the following.
Return code | Description |
---|---|
|
There is insufficient memory available for this operation. |
Remarks
You do not call this method directly. 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | oleidl.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for