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
bd8e14be
Commit
bd8e14be
authored
Nov 21, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Only test the window caption status if there is a foreground window.
parent
9643411c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
win.c
dlls/user32/tests/win.c
+4
-3
No files found.
dlls/user32/tests/win.c
View file @
bd8e14be
...
...
@@ -739,9 +739,10 @@ static void verify_window_info(HWND hwnd, const WINDOWINFO *info)
*/
ok
((
info
->
dwExStyle
&
~
0xe0000800
)
==
(
DWORD
)
GetWindowLongA
(
hwnd
,
GWL_EXSTYLE
),
"wrong dwExStyle: %08x != %08x
\n
"
,
info
->
dwExStyle
,
GetWindowLongA
(
hwnd
,
GWL_EXSTYLE
));
status
=
(
GetForegroundWindow
()
==
hwnd
)
?
WS_ACTIVECAPTION
:
0
;
ok
(
info
->
dwWindowStatus
==
status
,
"wrong dwWindowStatus: %04x != %04x active %p fg %p
\n
"
,
info
->
dwWindowStatus
,
status
,
GetActiveWindow
(),
GetForegroundWindow
());
status
=
(
GetActiveWindow
()
==
hwnd
)
?
WS_ACTIVECAPTION
:
0
;
if
(
GetForegroundWindow
())
ok
(
info
->
dwWindowStatus
==
status
,
"wrong dwWindowStatus: %04x != %04x active %p fg %p
\n
"
,
info
->
dwWindowStatus
,
status
,
GetActiveWindow
(),
GetForegroundWindow
());
/* win2k and XP return broken border info in GetWindowInfo most of
* the time, so there is no point in testing it.
...
...
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