ole32: Change DoDragDrop return value on IDropTarget::Drop call.
This commit is contained in:
parent
8d51235dbe
commit
bc2c6d39a6
|
@ -2430,11 +2430,11 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
|
|||
*/
|
||||
case DRAGDROP_S_DROP:
|
||||
if (*trackerInfo->pdwEffect != DROPEFFECT_NONE)
|
||||
IDropTarget_Drop(trackerInfo->curDragTarget,
|
||||
trackerInfo->dataObject,
|
||||
trackerInfo->dwKeyState,
|
||||
trackerInfo->curMousePos,
|
||||
trackerInfo->pdwEffect);
|
||||
trackerInfo->returnValue = IDropTarget_Drop(trackerInfo->curDragTarget,
|
||||
trackerInfo->dataObject,
|
||||
trackerInfo->dwKeyState,
|
||||
trackerInfo->curMousePos,
|
||||
trackerInfo->pdwEffect);
|
||||
else
|
||||
IDropTarget_DragLeave(trackerInfo->curDragTarget);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue