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
c569ab2a
Commit
c569ab2a
authored
Apr 11, 2007
by
Lei Zhang
Committed by
Alexandre Julliard
Apr 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: WM_ACTIVATEAPP on minimize message test.
parent
b47a756a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
1 deletion
+29
-1
msg.c
dlls/user32/tests/msg.c
+29
-1
No files found.
dlls/user32/tests/msg.c
View file @
c569ab2a
...
...
@@ -329,6 +329,26 @@ static const struct message WmShowMaxOverlappedSeq[] = {
{
EVENT_OBJECT_LOCATIONCHANGE
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
0
}
};
/* ShowWindow(SW_SHOWMINIMIZED) for a not visible overlapped window */
static
const
struct
message
WmShowMinOverlappedSeq
[]
=
{
{
HCBT_MINMAX
,
hook
|
lparam
,
0
,
SW_MINIMIZE
},
{
HCBT_SETFOCUS
,
hook
},
{
WM_KILLFOCUS
,
sent
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_NOCOPYBITS
|
SWP_SHOWWINDOW
|
SWP_FRAMECHANGED
|
SWP_NOACTIVATE
|
SWP_STATECHANGED
},
{
WM_GETMINMAXINFO
,
sent
|
defwinproc
},
{
WM_NCCALCSIZE
,
sent
|
wparam
,
TRUE
},
{
WM_NCPAINT
,
sent
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
{
WM_WINDOWPOSCHANGED
,
sent
},
{
WM_MOVE
,
sent
|
defwinproc
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
,
SIZE_MINIMIZED
},
{
WM_NCCALCSIZE
,
sent
|
optional
},
{
WM_NCACTIVATE
,
sent
|
wparam
,
0
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
{
WM_ACTIVATE
,
sent
},
{
WM_ACTIVATEAPP
,
sent
|
wparam
,
0
},
{
0
}
};
/* ShowWindow(SW_HIDE) for a visible overlapped window */
static
const
struct
message
WmHideOverlappedSeq
[]
=
{
{
WM_SHOWWINDOW
,
sent
|
wparam
,
0
},
...
...
@@ -3712,6 +3732,14 @@ static void test_messages(void)
/* FIXME: add ok_sequence() here */
flush_sequence
();
ShowWindow
(
hwnd
,
SW_MINIMIZE
);
ok_sequence
(
WmShowMinOverlappedSeq
,
"ShowWindow(SW_SHOWMINIMIZED):overlapped"
,
TRUE
);
flush_sequence
();
ShowWindow
(
hwnd
,
SW_RESTORE
);
/* FIXME: add ok_sequence() here */
flush_sequence
();
ShowWindow
(
hwnd
,
SW_SHOW
);
ok_sequence
(
WmEmptySeq
,
"ShowWindow(SW_SHOW):overlapped already visible"
,
FALSE
);
...
...
@@ -8444,7 +8472,7 @@ static const struct message WmSetWindowRgn_no_redraw[] = {
};
static
const
struct
message
WmSetWindowRgn_clear
[]
=
{
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_NOACTIVATE
|
SWP_FRAMECHANGED
|
SWP_NOSIZE
|
SWP_NOMOVE
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_NOACTIVATE
|
SWP_FRAMECHANGED
|
SWP_NOSIZE
|
SWP_NOMOVE
},
/* some versions of 2000/XP also has SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE in wparam */
{
WM_NCCALCSIZE
,
sent
|
wparam
,
1
},
{
WM_NCPAINT
,
sent
},
/* wparam != 1 */
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
...
...
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