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
32527530
Commit
32527530
authored
Sep 08, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Check the styles of the wizard and property sheet dialogs.
parent
aec5976f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
propsheet.c
dlls/comctl32/tests/propsheet.c
+14
-0
No files found.
dlls/comctl32/tests/propsheet.c
View file @
32527530
...
...
@@ -107,6 +107,7 @@ static void test_title(void)
PROPSHEETPAGEA
psp
;
PROPSHEETHEADERA
psh
;
HWND
hdlg
;
DWORD
style
;
memset
(
&
psp
,
0
,
sizeof
(
psp
));
psp
.
dwSize
=
sizeof
(
psp
);
...
...
@@ -131,6 +132,12 @@ static void test_title(void)
hdlg
=
(
HWND
)
PropertySheetA
(
&
psh
);
ok
(
hdlg
!=
INVALID_HANDLE_VALUE
,
"got invalid handle value %p
\n
"
,
hdlg
);
style
=
GetWindowLong
(
hdlg
,
GWL_STYLE
);
todo_wine
ok
(
style
==
(
WS_POPUP
|
WS_VISIBLE
|
WS_CLIPSIBLINGS
|
WS_CAPTION
|
WS_SYSMENU
|
DS_CONTEXTHELP
|
DS_MODALFRAME
|
DS_SETFONT
|
DS_3DLOOK
),
"got unexpected style: %x
\n
"
,
style
);
DestroyWindow
(
hdlg
);
}
...
...
@@ -276,6 +283,7 @@ static void test_wiznavigation(void)
PROPSHEETHEADERA
psh
;
HWND
hdlg
,
control
;
LONG_PTR
controlID
;
DWORD
style
;
LRESULT
defidres
;
BOOL
hwndtoindex_supported
=
TRUE
;
const
INT
nextID
=
12324
;
...
...
@@ -321,6 +329,12 @@ static void test_wiznavigation(void)
ok
(
active_page
==
0
,
"Active page should be 0. Is: %d
\n
"
,
active_page
);
style
=
GetWindowLong
(
hdlg
,
GWL_STYLE
)
&
~
(
DS_CONTEXTHELP
|
WS_SYSMENU
);
todo_wine
ok
(
style
==
(
WS_POPUP
|
WS_VISIBLE
|
WS_CLIPSIBLINGS
|
WS_CAPTION
|
DS_MODALFRAME
|
DS_SETFONT
|
DS_3DLOOK
),
"got unexpected style: %x
\n
"
,
style
);
control
=
GetFocus
();
controlID
=
GetWindowLongPtr
(
control
,
GWLP_ID
);
ok
(
controlID
==
nextID
,
"Focus should have been set to the Next button. Expected: %d, Found: %ld
\n
"
,
nextID
,
controlID
);
...
...
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