Commit 6f76fa4e authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard

Make sure that the drop effect of a DnD operation is set to

DROPEFFECT_NONE if the user cancelled the operation.
parent 3e18c250
......@@ -1997,9 +1997,12 @@ static void OLEDD_TrackStateChange(
/*
* If the source told us that we should cancel, fool the drop
* target by telling it that the mouse left it's window.
* Also set the drop effect to "NONE" in case the application
* ignores the result of DoDragDrop.
*/
case DRAGDROP_S_CANCEL:
IDropTarget_DragLeave(trackerInfo->curDragTarget);
*trackerInfo->pdwEffect = DROPEFFECT_NONE;
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment