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
13700585
Commit
13700585
authored
Mar 30, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Print full flag values in traces.
parent
488e3d70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
win.c
dlls/user32/tests/win.c
+3
-3
No files found.
dlls/user32/tests/win.c
View file @
13700585
...
...
@@ -3797,7 +3797,7 @@ static LRESULT WINAPI StyleCheckProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM
ok
((
lpss
->
styleOld
&
~
WS_EX_WINDOWEDGE
)
==
(
lpcs
->
dwExStyle
&
~
WS_EX_WINDOWEDGE
),
"Ex style (0x%08x) should match what the caller passed to CreateWindowEx (0x%08x)
\n
"
,
(
lpss
->
styleOld
&
~
WS_EX_WINDOWEDGE
),
(
lpcs
->
dwExStyle
&
~
WS_EX_WINDOWEDGE
)
);
lpss
->
styleOld
,
lpcs
->
dwExStyle
);
ok
(
lpss
->
styleNew
==
lpcs
->
style
,
"Style (0x%08x) should match what the caller passed to CreateWindowEx (0x%08x)
\n
"
,
...
...
@@ -3985,14 +3985,14 @@ static void check_dialog_style(DWORD style_in, DWORD ex_style_in, DWORD style_ou
style
=
GetWindowLongA
(
hwnd
,
GWL_STYLE
);
ex_style
=
GetWindowLongA
(
hwnd
,
GWL_EXSTYLE
);
ok
(
style
==
(
style_out
|
DS_3DLOOK
),
"
expected style %#x, got %#x
\n
"
,
style_out
|
DS_3DLOOK
,
style
);
ok
(
style
==
(
style_out
|
DS_3DLOOK
),
"
got %#x
\n
"
,
style
);
ok
(
ex_style
==
ex_style_out
,
"expected ex_style %#x, got %#x
\n
"
,
ex_style_out
,
ex_style
);
/* try setting the styles explicitly */
SetWindowLongA
(
hwnd
,
GWL_EXSTYLE
,
ex_style_in
);
style
=
GetWindowLongA
(
hwnd
,
GWL_STYLE
);
ex_style
=
GetWindowLongA
(
hwnd
,
GWL_EXSTYLE
);
ok
(
style
==
(
style_out
|
DS_3DLOOK
),
"
expected style %#x, got %#x
\n
"
,
style_out
|
DS_3DLOOK
,
style
);
ok
(
style
==
(
style_out
|
DS_3DLOOK
),
"
got %#x
\n
"
,
style
);
/* WS_EX_WINDOWEDGE can't always be changed */
if
(
ex_style_in
&
WS_EX_DLGMODALFRAME
)
ex_style_out
=
ex_style_in
|
WS_EX_WINDOWEDGE
;
...
...
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