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
91a63ad0
Commit
91a63ad0
authored
Feb 05, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Feb 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Add some more thumb length tests.
parent
0cd8c8f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
trackbar.c
dlls/comctl32/tests/trackbar.c
+20
-1
No files found.
dlls/comctl32/tests/trackbar.c
View file @
91a63ad0
...
...
@@ -298,6 +298,12 @@ static const struct message thumb_length_test_seq[] = {
{
WM_PAINT
,
sent
|
defwinproc
},
{
TBM_GETTHUMBLENGTH
,
sent
},
{
TBM_GETTHUMBLENGTH
,
sent
},
{
WM_SIZE
,
sent
},
{
WM_PAINT
,
sent
|
defwinproc
},
{
TBM_GETTHUMBLENGTH
,
sent
},
{
WM_SIZE
,
sent
},
{
WM_PAINT
,
sent
|
defwinproc
},
{
TBM_GETTHUMBLENGTH
,
sent
},
{
0
}
};
...
...
@@ -306,6 +312,10 @@ static const struct message parent_thumb_length_test_seq[] = {
{
WM_NOTIFY
,
sent
},
{
WM_CTLCOLORSTATIC
,
sent
},
{
WM_NOTIFY
,
sent
},
{
WM_CTLCOLORSTATIC
,
sent
},
{
WM_NOTIFY
,
sent
},
{
WM_CTLCOLORSTATIC
,
sent
},
{
WM_NOTIFY
,
sent
},
{
0
}
};
...
...
@@ -742,8 +752,17 @@ static void test_thumb_length(HWND hWndTrackbar){
r
=
SendMessage
(
hWndTrackbar
,
TBM_GETTHUMBLENGTH
,
0
,
0
);
expect
(
20
,
r
);
r
=
SendMessage
(
hWndTrackbar
,
WM_SIZE
,
0
,
0
);
expect
(
0
,
r
);
r
=
SendMessage
(
hWndTrackbar
,
TBM_GETTHUMBLENGTH
,
0
,
0
);
expect
(
20
,
r
);
r
=
SendMessage
(
hWndTrackbar
,
WM_SIZE
,
0
,
MAKELPARAM
(
50
,
50
)
);
expect
(
0
,
r
);
r
=
SendMessage
(
hWndTrackbar
,
TBM_GETTHUMBLENGTH
,
0
,
0
);
expect
(
20
,
r
);
ok_sequence
(
sequences
,
TRACKBAR_SEQ_INDEX
,
thumb_length_test_seq
,
"thumb length test sequence"
,
TRUE
);
ok_sequence
(
sequences
,
PARENT_SEQ_INDEX
,
parent_thumb_length_test_seq
,
"parent thumb lenth test sequence"
,
TRUE
);
ok_sequence
(
sequences
,
PARENT_SEQ_INDEX
,
parent_thumb_length_test_seq
,
"parent thumb len
g
th test sequence"
,
TRUE
);
}
static
void
test_tic_settings
(
HWND
hWndTrackbar
){
...
...
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