Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
34f89b23
Commit
34f89b23
authored
Jan 28, 2003
by
Juergen Schmied
Committed by
Alexandre Julliard
Jan 28, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix DoDragDrop in case of child windows.
parent
49a013cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
ole2.c
dlls/ole32/ole2.c
+7
-2
No files found.
dlls/ole32/ole2.c
View file @
34f89b23
...
...
@@ -76,7 +76,8 @@ typedef struct tagTrackerWindowInfo
HRESULT
returnValue
;
BOOL
escPressed
;
HWND
curDragTargetHWND
;
HWND
curTargetHWND
;
/* window the mouse is hovering over */
HWND
curDragTargetHWND
;
/* might be a ancestor of curTargetHWND */
IDropTarget
*
curDragTarget
;
}
TrackerWindowInfo
;
...
...
@@ -551,6 +552,7 @@ HRESULT WINAPI DoDragDrop (
trackerInfo
.
trackingDone
=
FALSE
;
trackerInfo
.
escPressed
=
FALSE
;
trackerInfo
.
curDragTargetHWND
=
0
;
trackerInfo
.
curTargetHWND
=
0
;
trackerInfo
.
curDragTarget
=
0
;
hwndTrackWindow
=
CreateWindowA
(
OLEDD_DRAGTRACKERCLASS
,
...
...
@@ -1920,7 +1922,7 @@ static void OLEDD_TrackMouseMove(
* DragOver notification
*/
if
(
(
trackerInfo
->
curDragTarget
!=
0
)
&&
(
trackerInfo
->
cur
DragTargetHWND
==
hwndNewTarget
)
)
(
trackerInfo
->
cur
TargetHWND
==
hwndNewTarget
)
)
{
POINTL
mousePosParam
;
...
...
@@ -1959,6 +1961,8 @@ static void OLEDD_TrackMouseMove(
* Find-out if there is a drag target under the mouse
*/
HWND
nexttar
=
hwndNewTarget
;
trackerInfo
->
curTargetHWND
=
hwndNewTarget
;
do
{
newDropTargetNode
=
OLEDD_FindDropTarget
(
nexttar
);
}
while
(
!
newDropTargetNode
&&
(
nexttar
=
GetParent
(
nexttar
))
!=
0
);
...
...
@@ -1995,6 +1999,7 @@ static void OLEDD_TrackMouseMove(
* The mouse is not over a window so we don't track anything.
*/
trackerInfo
->
curDragTargetHWND
=
0
;
trackerInfo
->
curTargetHWND
=
0
;
trackerInfo
->
curDragTarget
=
0
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment