Fixed a little Drag and Drop bug.
This commit is contained in:
parent
22a7d45276
commit
6ee9a5e718
|
@ -1498,6 +1498,12 @@ static void OLEDD_TrackMouseMove(
|
||||||
*/
|
*/
|
||||||
hwndNewTarget = WindowFromPoint(mousePos);
|
hwndNewTarget = WindowFromPoint(mousePos);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Every time, we re-initialize the effects passed to the
|
||||||
|
* IDropTarget to the effects allowed by the source.
|
||||||
|
*/
|
||||||
|
*trackerInfo->pdwEffect = trackerInfo->dwOKEffect;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we are hovering over the same target as before, send the
|
* If we are hovering over the same target as before, send the
|
||||||
* DragOver notification
|
* DragOver notification
|
||||||
|
@ -1521,7 +1527,7 @@ static void OLEDD_TrackMouseMove(
|
||||||
trackerInfo->pdwEffect);
|
trackerInfo->pdwEffect);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DropTargetNode* newDropTargetNode = 0;
|
DropTargetNode* newDropTargetNode = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue