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
cf6c76b3
Commit
cf6c76b3
authored
Feb 20, 2011
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Cope with failing SetForegroundWindow().
parent
65c35aad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
win.c
dlls/user32/tests/win.c
+7
-2
No files found.
dlls/user32/tests/win.c
View file @
cf6c76b3
...
...
@@ -3346,6 +3346,7 @@ static void test_SetParent(void)
HWND
desktop
=
GetDesktopWindow
();
HMENU
hMenu
;
HWND
ret
,
parent
,
child1
,
child2
,
child3
,
child4
,
sibling
,
popup
;
BOOL
bret
;
parent
=
CreateWindowExA
(
0
,
"static"
,
NULL
,
WS_OVERLAPPEDWINDOW
,
100
,
100
,
200
,
200
,
0
,
0
,
0
,
NULL
);
...
...
@@ -3474,9 +3475,13 @@ todo_wine
SetFocus
(
parent
);
check_active_state
(
parent
,
0
,
parent
);
bret
=
SetForegroundWindow
(
popup
);
todo_wine
{
ok
(
SetForegroundWindow
(
popup
),
"SetForegroundWindow() failed
\n
"
);
check_active_state
(
popup
,
0
,
popup
);
ok
(
bret
||
broken
(
!
bret
),
"SetForegroundWindow() failed
\n
"
);
if
(
!
bret
)
check_active_state
(
popup
,
0
,
popup
);
else
check_active_state
(
popup
,
popup
,
popup
);
}
ok
(
DestroyWindow
(
parent
),
"DestroyWindow() failed
\n
"
);
...
...
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