Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3b5c2cba
Commit
3b5c2cba
authored
Sep 14, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix several failing tests in win95.
parent
17a39490
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
status.c
dlls/comctl32/tests/status.c
+18
-6
No files found.
dlls/comctl32/tests/status.c
View file @
3b5c2cba
...
...
@@ -303,18 +303,28 @@ static void test_status_control(void)
/* Set background color */
r
=
SendMessage
(
hWndStatus
,
SB_SETBKCOLOR
,
0
,
RGB
(
255
,
0
,
0
));
expect
(
CLR_DEFAULT
,
r
);
ok
(
r
==
CLR_DEFAULT
||
broken
(
r
==
0
),
/* win95 */
"Expected %d, got %d
\n
"
,
CLR_DEFAULT
,
r
);
r
=
SendMessage
(
hWndStatus
,
SB_SETBKCOLOR
,
0
,
CLR_DEFAULT
);
expect
(
RGB
(
255
,
0
,
0
),
r
);
ok
(
r
==
RGB
(
255
,
0
,
0
)
||
broken
(
r
==
0
),
/* win95 */
"Expected %d, got %d
\n
"
,
RGB
(
255
,
0
,
0
),
r
);
/* Add an icon to the status bar */
hIcon
=
LoadIcon
(
NULL
,
IDI_QUESTION
);
r
=
SendMessage
(
hWndStatus
,
SB_SETICON
,
1
,
(
LPARAM
)
NULL
);
ok
(
r
!=
0
,
"Expected non-zero, got %d
\n
"
,
r
);
ok
(
r
!=
0
||
broken
(
r
==
0
),
/* win95 */
"Expected non-zero, got %d
\n
"
,
r
);
r
=
SendMessage
(
hWndStatus
,
SB_SETICON
,
1
,
(
LPARAM
)
hIcon
);
ok
(
r
!=
0
,
"Expected non-zero, got %d
\n
"
,
r
);
ok
(
r
!=
0
||
broken
(
r
==
0
),
/* win95 */
"Expected non-zero, got %d
\n
"
,
r
);
r
=
SendMessage
(
hWndStatus
,
SB_SETICON
,
1
,
(
LPARAM
)
NULL
);
ok
(
r
!=
0
,
"Expected non-zero, got %d
\n
"
,
r
);
ok
(
r
!=
0
||
broken
(
r
==
0
),
/* win95 */
"Expected non-zero, got %d
\n
"
,
r
);
/* Set the Unicode format */
r
=
SendMessage
(
hWndStatus
,
SB_SETUNICODEFORMAT
,
FALSE
,
0
);
...
...
@@ -323,7 +333,9 @@ static void test_status_control(void)
r
=
SendMessage
(
hWndStatus
,
SB_SETUNICODEFORMAT
,
TRUE
,
0
);
expect
(
FALSE
,
r
);
r
=
SendMessage
(
hWndStatus
,
SB_GETUNICODEFORMAT
,
0
,
0
);
expect
(
TRUE
,
r
);
ok
(
r
==
TRUE
||
broken
(
r
==
FALSE
),
/* win95 */
"Expected TRUE, got %d
\n
"
,
r
);
/* Reset number of parts */
r
=
SendMessage
(
hWndStatus
,
SB_SETPARTS
,
2
,
(
LPARAM
)
nParts
);
...
...
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