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
eb86c5bb
Commit
eb86c5bb
authored
Aug 28, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Aug 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix several test failures in win98.
parent
080d8e72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
comboex.c
dlls/comctl32/tests/comboex.c
+15
-6
No files found.
dlls/comctl32/tests/comboex.c
View file @
eb86c5bb
...
...
@@ -228,7 +228,8 @@ static void test_WM_LBUTTONDOWN(void)
result
=
SendMessage
(
hCombo
,
WM_LBUTTONDOWN
,
0
,
MAKELPARAM
(
x
,
y
));
ok
(
result
,
"WM_LBUTTONDOWN was not processed. LastError=%d
\n
"
,
GetLastError
());
ok
(
GetFocus
()
==
hCombo
,
ok
(
GetFocus
()
==
hCombo
||
broken
(
GetFocus
()
!=
hCombo
),
/* win98 */
"Focus not on ComboBoxEx's ComboBox Control, instead on %p
\n
"
,
GetFocus
());
ok
(
SendMessage
(
hComboEx
,
CB_GETDROPPEDSTATE
,
0
,
0
),
...
...
@@ -239,7 +240,8 @@ static void test_WM_LBUTTONDOWN(void)
result
=
SendMessage
(
hCombo
,
WM_LBUTTONUP
,
0
,
MAKELPARAM
(
x
,
y
));
ok
(
result
,
"WM_LBUTTONUP was not processed. LastError=%d
\n
"
,
GetLastError
());
ok
(
GetFocus
()
==
hCombo
,
ok
(
GetFocus
()
==
hCombo
||
broken
(
GetFocus
()
!=
hCombo
),
/* win98 */
"Focus not on ComboBoxEx's ComboBox Control, instead on %p
\n
"
,
GetFocus
());
...
...
@@ -251,14 +253,16 @@ static void test_WM_LBUTTONDOWN(void)
result
=
SendMessage
(
hList
,
WM_MOUSEMOVE
,
0
,
MAKELPARAM
(
x
,
y
));
ok
(
!
result
,
"WM_MOUSEMOVE was not processed. LastError=%d
\n
"
,
GetLastError
());
ok
(
GetFocus
()
==
hCombo
,
ok
(
GetFocus
()
==
hCombo
||
broken
(
GetFocus
()
!=
hCombo
),
/* win98 */
"Focus not on ComboBoxEx's ComboBox Control, instead on %p
\n
"
,
GetFocus
());
result
=
SendMessage
(
hList
,
WM_LBUTTONDOWN
,
0
,
MAKELPARAM
(
x
,
y
));
ok
(
!
result
,
"WM_LBUTTONDOWN was not processed. LastError=%d
\n
"
,
GetLastError
());
ok
(
GetFocus
()
==
hCombo
,
ok
(
GetFocus
()
==
hCombo
||
broken
(
GetFocus
()
!=
hCombo
),
/* win98 */
"Focus not on ComboBoxEx's ComboBox Control, instead on %p
\n
"
,
GetFocus
());
ok
(
SendMessage
(
hComboEx
,
CB_GETDROPPEDSTATE
,
0
,
0
),
...
...
@@ -270,10 +274,15 @@ static void test_WM_LBUTTONDOWN(void)
todo_wine
ok
(
GetFocus
()
==
hEdit
,
"Focus not on ComboBoxEx's Edit Control, instead on %p
\n
"
,
GetFocus
());
ok
(
!
SendMessage
(
hCombo
,
CB_GETDROPPEDSTATE
,
0
,
0
),
result
=
SendMessage
(
hCombo
,
CB_GETDROPPEDSTATE
,
0
,
0
);
ok
(
!
result
||
broken
(
result
!=
0
),
/* win98 */
"The dropdown list should have been rolled up.
\n
"
);
idx
=
SendMessage
(
hComboEx
,
CB_GETCURSEL
,
0
,
0
);
ok
(
idx
==
4
,
"Current Selection: expected %d, got %d
\n
"
,
4
,
idx
);
ok
(
idx
==
4
||
broken
(
idx
==
-
1
),
/* win98 */
"Current Selection: expected %d, got %d
\n
"
,
4
,
idx
);
DestroyWindow
(
hComboEx
);
}
...
...
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