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
88bc45a7
Commit
88bc45a7
authored
Aug 26, 2022
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Test PROPERTYSHEETPAGE passed in WM_INITDIALOG.
parent
001665d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
propsheet.c
dlls/comctl32/tests/propsheet.c
+10
-1
No files found.
dlls/comctl32/tests/propsheet.c
View file @
88bc45a7
...
...
@@ -112,10 +112,18 @@ static INT_PTR CALLBACK page_dlg_proc(HWND hwnd, UINT msg, WPARAM wparam,
{
case
WM_INITDIALOG
:
{
PROPSHEETPAGEA
*
psp
=
(
PROPSHEETPAGEA
*
)
lparam
;
HWND
sheet
=
GetParent
(
hwnd
);
char
caption
[
256
];
GetWindowTextA
(
sheet
,
caption
,
sizeof
(
caption
));
ok
(
!
strcmp
(
caption
,
"test caption"
),
"caption: %s
\n
"
,
caption
);
if
(
psp
->
dwFlags
&
PSP_USETITLE
)
{
todo_wine
ok
(
!
strcmp
(
psp
->
pszTitle
,
"page title"
),
"psp->pszTitle = %s
\n
"
,
wine_dbgstr_a
(
psp
->
pszTitle
));
}
return
TRUE
;
}
...
...
@@ -149,8 +157,9 @@ static void test_title(void)
memset
(
&
psp
,
0
,
sizeof
(
psp
));
psp
.
dwSize
=
sizeof
(
psp
);
psp
.
dwFlags
=
0
;
psp
.
dwFlags
=
PSP_USETITLE
;
psp
.
hInstance
=
GetModuleHandleA
(
NULL
);
psp
.
pszTitle
=
"page title"
;
U
(
psp
).
pszTemplate
=
"prop_page1"
;
U2
(
psp
).
pszIcon
=
NULL
;
psp
.
pfnDlgProc
=
page_dlg_proc
;
...
...
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