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
9df137b8
Commit
9df137b8
authored
May 24, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 24, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for focus change on ShowWindow(child, SW_HIDE).
parent
eef83b38
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
win.c
dlls/user/tests/win.c
+9
-0
No files found.
dlls/user/tests/win.c
View file @
9df137b8
...
...
@@ -1604,6 +1604,15 @@ static void test_SetFocus(HWND hwnd)
ok
(
GetFocus
()
==
child
,
"Focus should be on child %p
\n
"
,
child
);
SetWindowPos
(
child
,
0
,
0
,
0
,
0
,
0
,
SWP_NOZORDER
|
SWP_NOMOVE
|
SWP_NOSIZE
|
SWP_HIDEWINDOW
);
ok
(
GetFocus
()
==
child
,
"Focus should still be on child %p
\n
"
,
child
);
ShowWindow
(
child
,
SW_HIDE
);
SetFocus
(
hwnd
);
ok
(
GetFocus
()
==
hwnd
,
"Focus should be on parent %p, not %p
\n
"
,
hwnd
,
GetFocus
()
);
SetWindowPos
(
child
,
0
,
0
,
0
,
0
,
0
,
SWP_NOZORDER
|
SWP_NOMOVE
|
SWP_NOSIZE
|
SWP_SHOWWINDOW
);
ok
(
GetFocus
()
==
hwnd
,
"Focus should still be on parent %p, not %p
\n
"
,
hwnd
,
GetFocus
()
);
ShowWindow
(
child
,
SW_HIDE
);
ok
(
GetFocus
()
==
hwnd
,
"Focus should still be on parent %p, not %p
\n
"
,
hwnd
,
GetFocus
()
);
DestroyWindow
(
child
);
}
...
...
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