Fixed a little Drag and Drop bug.

This commit is contained in:
Francis Beaudet 1999-05-01 10:10:30 +00:00 committed by Alexandre Julliard
parent 22a7d45276
commit 6ee9a5e718
1 changed files with 7 additions and 1 deletions

View File

@ -1498,6 +1498,12 @@ static void OLEDD_TrackMouseMove(
*/
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
* DragOver notification
@ -1521,7 +1527,7 @@ static void OLEDD_TrackMouseMove(
trackerInfo->pdwEffect);
}
else
{
{
DropTargetNode* newDropTargetNode = 0;
/*