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
954d6e2e
Commit
954d6e2e
authored
May 13, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add tests for painting minimized/clipped windows.
parent
7e497a9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
msg.c
dlls/user32/tests/msg.c
+29
-0
No files found.
dlls/user32/tests/msg.c
View file @
954d6e2e
...
...
@@ -5779,6 +5779,35 @@ static void test_paint_messages(void)
flush_events
();
ok_sequence
(
WmSWP_FrameChangedDeferErase
,
"SetWindowPos:FrameChangedDeferErase"
,
FALSE
);
ok
(
GetWindowLong
(
hparent
,
GWL_STYLE
)
&
WS_VISIBLE
,
"parent should be visible
\n
"
);
ok
(
GetWindowLong
(
hchild
,
GWL_STYLE
)
&
WS_VISIBLE
,
"child should be visible
\n
"
);
UpdateWindow
(
hparent
);
flush_events
();
flush_sequence
();
trace
(
"testing SetWindowPos(-10000, -10000) on child
\n
"
);
SetWindowPos
(
hchild
,
0
,
-
10000
,
-
10000
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOACTIVATE
|
SWP_NOZORDER
);
check_update_rgn
(
hchild
,
0
);
flush_events
();
#if 0 /* this one doesn't pass under Wine yet */
UpdateWindow( hparent );
flush_events();
flush_sequence();
trace("testing ShowWindow(SW_MINIMIZE) on child\n");
ShowWindow( hchild, SW_MINIMIZE );
check_update_rgn( hchild, 0 );
flush_events();
#endif
UpdateWindow
(
hparent
);
flush_events
();
flush_sequence
();
trace
(
"testing SetWindowPos(-10000, -10000) on parent
\n
"
);
SetWindowPos
(
hparent
,
0
,
-
10000
,
-
10000
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOACTIVATE
|
SWP_NOZORDER
);
check_update_rgn
(
hparent
,
0
);
flush_events
();
log_all_parent_messages
--
;
DestroyWindow
(
hparent
);
ok
(
!
IsWindow
(
hchild
),
"child must be destroyed with its parent
\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