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
764c5b3b
Commit
764c5b3b
authored
Sep 28, 2006
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Sep 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: toolbar: Set correcly hwndTrack in TrackMouseEvent call.
parent
bfaa34c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
toolbar.c
dlls/comctl32/toolbar.c
+2
-3
No files found.
dlls/comctl32/toolbar.c
View file @
764c5b3b
...
...
@@ -6226,15 +6226,14 @@ TOOLBAR_MouseMove (HWND hwnd, WPARAM wParam, LPARAM lParam)
/* fill in the TRACKMOUSEEVENT struct */
trackinfo
.
cbSize
=
sizeof
(
TRACKMOUSEEVENT
);
trackinfo
.
dwFlags
=
TME_QUERY
;
trackinfo
.
hwndTrack
=
hwnd
;
trackinfo
.
dwHoverTime
=
HOVER_DEFAULT
;
/* call _TrackMouseEvent to see if we are currently tracking for this hwnd */
_TrackMouseEvent
(
&
trackinfo
);
/* Make sure tracking is enabled so we receive a WM_MOUSELEAVE message */
if
(
!
(
trackinfo
.
dwFlags
&
TME_LEAVE
))
{
if
(
trackinfo
.
hwndTrack
!=
hwnd
||
!
(
trackinfo
.
dwFlags
&
TME_LEAVE
))
{
trackinfo
.
dwFlags
=
TME_LEAVE
;
/* notify upon leaving */
trackinfo
.
hwndTrack
=
hwnd
;
/* call TRACKMOUSEEVENT so we receive a WM_MOUSELEAVE message */
/* and can properly deactivate the hot toolbar button */
...
...
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