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
43dfbfd8
Commit
43dfbfd8
authored
Aug 21, 2011
by
Bruno Jesus
Committed by
Alexandre Julliard
Aug 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Add combobox CB_SETDROPPEDWITH/CB_GETDROPPEDWIDTH tests.
parent
0fc7cd5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
combo.c
dlls/user32/tests/combo.c
+21
-0
No files found.
dlls/user32/tests/combo.c
View file @
43dfbfd8
...
...
@@ -404,6 +404,27 @@ static void test_changesize( DWORD style)
ok
(
rc
.
bottom
-
rc
.
top
==
clheight
+
2
,
"drop-down rect height is %d vs %d
\n
"
,
rc
.
bottom
-
rc
.
top
,
clheight
+
2
);
}
ddwidth
=
SendMessageA
(
hCombo
,
CB_SETDROPPEDWIDTH
,
-
1
,
0
);
todo_wine
ok
(
ddwidth
==
clwidth
+
2
,
"drop-width is %d vs %d
\n
"
,
ddwidth
,
clwidth
+
2
);
ddwidth
=
SendMessageA
(
hCombo
,
CB_GETDROPPEDWIDTH
,
0
,
0
);
todo_wine
ok
(
ddwidth
==
clwidth
+
2
,
"drop-width is %d vs %d
\n
"
,
ddwidth
,
clwidth
+
2
);
ddwidth
=
SendMessageA
(
hCombo
,
CB_SETDROPPEDWIDTH
,
0
,
0
);
todo_wine
ok
(
ddwidth
==
clwidth
+
2
,
"drop-width is %d vs %d
\n
"
,
ddwidth
,
clwidth
+
2
);
ddwidth
=
SendMessageA
(
hCombo
,
CB_GETDROPPEDWIDTH
,
0
,
0
);
ok
(
ddwidth
==
clwidth
+
2
,
"drop-width is %d vs %d
\n
"
,
ddwidth
,
clwidth
+
2
);
ddwidth
=
SendMessageA
(
hCombo
,
CB_SETDROPPEDWIDTH
,
clwidth
-
1
,
0
);
todo_wine
ok
(
ddwidth
==
clwidth
+
2
,
"drop-width is %d vs %d
\n
"
,
ddwidth
,
clwidth
+
2
);
ddwidth
=
SendMessageA
(
hCombo
,
CB_GETDROPPEDWIDTH
,
0
,
0
);
todo_wine
ok
(
ddwidth
==
clwidth
+
2
,
"drop-width is %d vs %d
\n
"
,
ddwidth
,
clwidth
+
2
);
ddwidth
=
SendMessageA
(
hCombo
,
CB_SETDROPPEDWIDTH
,
clwidth
<<
1
,
0
);
todo_wine
ok
(
ddwidth
==
(
clwidth
<<
1
),
"drop-width is %d vs %d
\n
"
,
ddwidth
,
clwidth
<<
1
);
ddwidth
=
SendMessageA
(
hCombo
,
CB_GETDROPPEDWIDTH
,
0
,
0
);
ok
(
ddwidth
==
(
clwidth
<<
1
),
"drop-width is %d vs %d
\n
"
,
ddwidth
,
clwidth
<<
1
);
DestroyWindow
(
hCombo
);
}
...
...
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