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
d3078e0b
Commit
d3078e0b
authored
Jan 22, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Ignore WM_IME_SELECT message. Skip mouse hovering test if the…
user32/tests: Ignore WM_IME_SELECT message. Skip mouse hovering test if the mouse isn't where we want.
parent
c0e72b05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
msg.c
dlls/user32/tests/msg.c
+19
-1
No files found.
dlls/user32/tests/msg.c
View file @
d3078e0b
...
...
@@ -6871,6 +6871,7 @@ static LRESULT MsgCheckProc (BOOL unicode, HWND hwnd, UINT message,
case
WM_GETICON
:
case
WM_GETOBJECT
:
case
WM_DEVICECHANGE
:
case
WM_IME_SELECT
:
return
0
;
}
...
...
@@ -9656,7 +9657,24 @@ static void test_TrackMouseEvent(void)
flush_sequence
();
track_hover
(
hwnd
,
0
);
track_query
(
TME_HOVER
,
hwnd
,
default_hover_time
);
tme
.
cbSize
=
sizeof
(
tme
);
tme
.
dwFlags
=
TME_QUERY
;
tme
.
hwndTrack
=
(
HWND
)
0xdeadbeef
;
tme
.
dwHoverTime
=
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
ret
=
pTrackMouseEvent
(
&
tme
);
ok
(
ret
,
"TrackMouseEvent(TME_QUERY) error %d
\n
"
,
GetLastError
());
ok
(
tme
.
cbSize
==
sizeof
(
tme
),
"wrong tme.cbSize %u
\n
"
,
tme
.
cbSize
);
if
(
!
tme
.
dwFlags
)
{
skip
(
"Cursor not inside window, skipping TrackMouseEvent tests
\n
"
);
DestroyWindow
(
hwnd
);
return
;
}
ok
(
tme
.
dwFlags
==
TME_HOVER
,
"wrong tme.dwFlags %08x, expected TME_HOVER
\n
"
,
tme
.
dwFlags
);
ok
(
tme
.
hwndTrack
==
hwnd
,
"wrong tme.hwndTrack %p, expected %p
\n
"
,
tme
.
hwndTrack
,
hwnd
);
ok
(
tme
.
dwHoverTime
==
default_hover_time
,
"wrong tme.dwHoverTime %u, expected %u
\n
"
,
tme
.
dwHoverTime
,
default_hover_time
);
pump_msg_loop_timeout
(
default_hover_time
,
FALSE
);
ok_sequence
(
WmMouseHoverSeq
,
"WmMouseHoverSeq"
,
FALSE
);
...
...
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