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
193d13c4
Commit
193d13c4
authored
Feb 26, 2011
by
Peter Urbanec
Committed by
Alexandre Julliard
Feb 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Enable statusbar tooltip tests.
parent
4f77b003
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
status.c
dlls/comctl32/tests/status.c
+7
-10
No files found.
dlls/comctl32/tests/status.c
View file @
193d13c4
...
@@ -261,7 +261,7 @@ static void test_status_control(void)
...
@@ -261,7 +261,7 @@ static void test_status_control(void)
char
ch
;
char
ch
;
char
chstr
[
10
]
=
"Inval id"
;
char
chstr
[
10
]
=
"Inval id"
;
hWndStatus
=
create_status_control
(
WS_VISIBLE
,
0
);
hWndStatus
=
create_status_control
(
WS_VISIBLE
|
SBT_TOOLTIPS
,
0
);
/* Divide into parts and set text */
/* Divide into parts and set text */
r
=
SendMessage
(
hWndStatus
,
SB_SETPARTS
,
3
,
(
LPARAM
)
nParts
);
r
=
SendMessage
(
hWndStatus
,
SB_SETPARTS
,
3
,
(
LPARAM
)
nParts
);
...
@@ -400,15 +400,12 @@ static void test_status_control(void)
...
@@ -400,15 +400,12 @@ static void test_status_control(void)
expect
(
FALSE
,
r
);
expect
(
FALSE
,
r
);
/* Set the ToolTip text */
/* Set the ToolTip text */
todo_wine
SendMessage
(
hWndStatus
,
SB_SETTIPTEXT
,
0
,(
LPARAM
)
"Tooltip Text"
);
{
lstrcpyA
(
charArray
,
"apple"
);
SendMessage
(
hWndStatus
,
SB_SETTIPTEXT
,
0
,(
LPARAM
)
"Tooltip Text"
);
SendMessage
(
hWndStatus
,
SB_GETTIPTEXT
,
MAKEWPARAM
(
0
,
20
),(
LPARAM
)
charArray
);
lstrcpyA
(
charArray
,
"apple"
);
ok
(
strcmp
(
charArray
,
"Tooltip Text"
)
==
0
||
SendMessage
(
hWndStatus
,
SB_GETTIPTEXT
,
MAKEWPARAM
(
0
,
20
),(
LPARAM
)
charArray
);
broken
(
!
strcmp
(
charArray
,
"apple"
)),
/* win95 */
ok
(
strcmp
(
charArray
,
"Tooltip Text"
)
==
0
||
"Expected Tooltip Text, got %s
\n
"
,
charArray
);
broken
(
!
strcmp
(
charArray
,
"apple"
)),
/* win95 */
"Expected Tooltip Text, got %s
\n
"
,
charArray
);
}
/* Make simple */
/* Make simple */
SendMessage
(
hWndStatus
,
SB_SIMPLE
,
TRUE
,
0
);
SendMessage
(
hWndStatus
,
SB_SIMPLE
,
TRUE
,
0
);
...
...
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