Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |