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
af002992
Commit
af002992
authored
Feb 26, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix some message sequences for Win9x.
parent
148ef5f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
19 deletions
+25
-19
msg.c
dlls/user32/tests/msg.c
+25
-19
No files found.
dlls/user32/tests/msg.c
View file @
af002992
...
...
@@ -192,6 +192,11 @@ static const struct message WmSWP_ShowOverlappedSeq[] = {
static
const
struct
message
WmSWP_HideOverlappedSeq
[]
=
{
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_HIDEWINDOW
|
SWP_NOSIZE
|
SWP_NOMOVE
},
{
EVENT_OBJECT_HIDE
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
HCBT_ACTIVATE
,
hook
|
optional
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
|
optional
,
SWP_NOSIZE
|
SWP_NOMOVE
},
{
WM_ACTIVATEAPP
,
sent
|
wparam
|
optional
,
1
},
{
WM_NCACTIVATE
,
sent
|
optional
},
{
WM_ACTIVATE
,
sent
|
optional
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
SWP_HIDEWINDOW
|
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOCLIENTSIZE
|
SWP_NOCLIENTMOVE
},
{
0
}
};
...
...
@@ -202,12 +207,12 @@ static const struct message WmSWP_HideOverlappedSeq[] = {
static
const
struct
message
WmSWP_ResizeSeq
[]
=
{
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_NOACTIVATE
|
SWP_NOMOVE
},
{
WM_GETMINMAXINFO
,
sent
|
defwinproc
},
{
WM_NCCALCSIZE
,
sent
|
wparam
,
TRUE
},
{
WM_NCCALCSIZE
,
sent
|
wparam
|
optional
,
TRUE
},
{
WM_NCPAINT
,
sent
|
optional
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
{
WM_ERASEBKGND
,
sent
|
optional
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
SWP_NOACTIVATE
|
SWP_NOMOVE
|
SWP_NOCLIENTMOVE
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
,
SIZE_RESTORED
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
|
optional
,
SWP_NOACTIVATE
|
SWP_NOMOVE
|
SWP_NOCLIENTMOVE
},
{
WM_SIZE
,
sent
|
defwinproc
|
optional
},
{
WM_NCCALCSIZE
,
sent
|
wparam
|
optional
,
TRUE
},
{
WM_NCPAINT
,
sent
|
optional
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
...
...
@@ -223,12 +228,12 @@ static const struct message WmSWP_ResizeSeq[] = {
static
const
struct
message
WmSWP_ResizePopupSeq
[]
=
{
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_NOACTIVATE
|
SWP_NOMOVE
},
{
WM_GETMINMAXINFO
,
sent
|
defwinproc
|
optional
},
/* Win9x */
{
WM_NCCALCSIZE
,
sent
|
wparam
,
TRUE
},
{
WM_NCCALCSIZE
,
sent
|
wparam
|
optional
,
TRUE
},
{
WM_NCPAINT
,
sent
|
optional
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
{
WM_ERASEBKGND
,
sent
|
optional
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
SWP_NOACTIVATE
|
SWP_NOMOVE
|
SWP_NOCLIENTMOVE
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
,
SIZE_RESTORED
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
|
optional
,
SWP_NOACTIVATE
|
SWP_NOMOVE
|
SWP_NOCLIENTMOVE
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
|
optional
,
SIZE_RESTORED
},
{
WM_NCCALCSIZE
,
sent
|
wparam
|
optional
,
TRUE
},
{
WM_NCPAINT
,
sent
|
optional
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
...
...
@@ -261,9 +266,10 @@ static const struct message WmSWP_ResizeNoZOrder[] = {
{
WM_NCPAINT
,
sent
|
optional
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
{
WM_ERASEBKGND
,
sent
|
optional
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
/*SWP_NOZORDER|*/
SWP_NOMOVE
|
SWP_NOCLIENTMOVE
|
SWP_NOACTIVATE
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
/*SWP_NOZORDER|*/
SWP_NOACTIVATE
,
0
,
SWP_NOMOVE
|
SWP_NOCLIENTMOVE
|
SWP_NOSIZE
|
SWP_NOCLIENTSIZE
},
{
WM_MOVE
,
sent
|
defwinproc
|
optional
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
|
optional
,
SIZE_RESTORED
},
{
WM_SIZE
,
sent
|
defwinproc
|
optional
},
{
WM_NCCALCSIZE
,
sent
|
wparam
|
optional
,
1
},
/* Win9x doesn't send it */
{
WM_NCPAINT
,
sent
|
optional
},
/* Win9x doesn't send it */
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
/* Win9x doesn't send it */
...
...
@@ -611,7 +617,7 @@ static const struct message WmDestroyOverlappedSeq[] = {
{
0x0090
,
sent
|
optional
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
SWP_HIDEWINDOW
|
SWP_NOACTIVATE
|
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOCLIENTSIZE
|
SWP_NOCLIENTMOVE
},
{
WM_NCACTIVATE
,
sent
|
optional
|
wparam
,
0
},
{
WM_ACTIVATE
,
sent
|
optional
|
wparam
,
0
},
{
WM_ACTIVATE
,
sent
|
optional
},
{
WM_ACTIVATEAPP
,
sent
|
optional
|
wparam
,
0
},
{
WM_KILLFOCUS
,
sent
|
optional
|
wparam
,
0
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
0
},
...
...
@@ -649,7 +655,7 @@ static const struct message WmCreateMaxPopupSeq[] = {
{
WM_ERASEBKGND
,
sent
|
optional
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
|
optional
,
SWP_NOCLIENTMOVE
|
SWP_NOCLIENTSIZE
|
SWP_NOMOVE
|
SWP_NOSIZE
},
{
WM_ACTIVATEAPP
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
},
{
WM_ACTIVATE
,
sent
|
wparam
,
1
},
{
HCBT_SETFOCUS
,
hook
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
defwinproc
|
optional
,
1
},
...
...
@@ -699,7 +705,7 @@ static const struct message WmShowMaxPopupResizedSeq[] = {
{
WM_ERASEBKGND
,
sent
|
optional
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
|
optional
,
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOCLIENTSIZE
|
SWP_NOCLIENTMOVE
},
{
WM_ACTIVATEAPP
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
},
{
WM_ACTIVATE
,
sent
|
wparam
,
1
},
{
HCBT_SETFOCUS
,
hook
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
defwinproc
|
optional
,
1
},
...
...
@@ -728,7 +734,7 @@ static const struct message WmShowMaxPopupSeq[] = {
{
WM_QUERYNEWPALETTE
,
sent
|
wparam
|
lparam
|
optional
,
0
,
0
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
|
optional
,
SWP_NOSIZE
|
SWP_NOMOVE
},
{
WM_ACTIVATEAPP
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
},
{
WM_ACTIVATE
,
sent
|
wparam
,
1
},
{
HCBT_SETFOCUS
,
hook
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
defwinproc
|
optional
,
1
},
...
...
@@ -765,7 +771,7 @@ static const struct message WmCreatePopupSeq[] = {
{
WM_ERASEBKGND
,
sent
|
optional
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
|
optional
,
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOCLIENTSIZE
|
SWP_NOCLIENTMOVE
},
{
WM_ACTIVATEAPP
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
},
{
WM_ACTIVATE
,
sent
|
wparam
,
1
},
{
HCBT_SETFOCUS
,
hook
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
defwinproc
|
optional
,
1
},
...
...
@@ -838,7 +844,7 @@ static const struct message WmShowVisiblePopupSeq_3[] = {
{
EVENT_SYSTEM_FOREGROUND
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
WM_QUERYNEWPALETTE
,
sent
|
wparam
|
lparam
|
optional
,
0
,
0
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
|
optional
,
SWP_NOSIZE
|
SWP_NOMOVE
},
{
WM_NCACTIVATE
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
},
{
WM_ACTIVATE
,
sent
|
wparam
,
1
},
{
HCBT_SETFOCUS
,
hook
},
{
WM_KILLFOCUS
,
sent
|
parent
},
...
...
@@ -1217,7 +1223,7 @@ static const struct message WmCreateCustomDialogSeq[] = {
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
|
optional
,
SWP_NOSIZE
|
SWP_NOMOVE
},
{
WM_NCACTIVATE
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
},
{
WM_GETTEXT
,
sent
|
optional
|
defwinproc
},
{
WM_GETTEXT
,
sent
|
optional
|
defwinproc
},
{
WM_GETTEXT
,
sent
|
optional
|
defwinproc
},
...
...
@@ -1284,7 +1290,7 @@ static const struct message WmShowCustomDialogSeq[] = {
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
|
optional
,
SWP_NOSIZE
|
SWP_NOMOVE
},
{
WM_ACTIVATEAPP
,
sent
|
wparam
|
optional
,
1
},
{
WM_NCACTIVATE
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
},
{
WM_ACTIVATE
,
sent
|
wparam
,
1
},
{
WM_GETTEXT
,
sent
|
optional
},
...
...
@@ -1322,7 +1328,7 @@ static const struct message WmModalDialogSeq[] = {
{
EVENT_SYSTEM_FOREGROUND
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
WM_QUERYNEWPALETTE
,
sent
|
wparam
|
lparam
|
optional
,
0
,
0
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_NOSIZE
|
SWP_NOMOVE
},
{
WM_NCACTIVATE
,
sent
|
wparam
,
1
},
{
WM_NCACTIVATE
,
sent
},
{
WM_GETTEXT
,
sent
|
optional
},
{
WM_ACTIVATE
,
sent
|
wparam
,
1
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_SHOWWINDOW
|
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOACTIVATE
},
...
...
@@ -1587,7 +1593,7 @@ static const struct message WmSetScrollRangeHV_NC_Seq[] =
{
WM_ERASEBKGND
,
sent
|
optional
},
{
WM_CTLCOLORDLG
,
sent
|
defwinproc
|
optional
},
/* sent to a parent of the dialog */
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
SWP_FRAMECHANGED
|
SWP_NOACTIVATE
|
SWP_NOMOVE
|
SWP_NOSIZE
|
SWP_NOCLIENTMOVE
,
0
,
SWP_NOCLIENTSIZE
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
|
optional
,
SIZE_RESTORED
},
{
WM_SIZE
,
sent
|
defwinproc
|
optional
},
{
EVENT_OBJECT_LOCATIONCHANGE
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
EVENT_OBJECT_VALUECHANGE
,
winevent_hook
|
lparam
|
optional
,
0
/*OBJID_HSCROLL or OBJID_VSCROLL*/
,
0
},
{
WM_GETTEXT
,
sent
|
optional
},
...
...
@@ -4349,7 +4355,7 @@ static const struct message WmZOrder[] = {
{
WM_GETTEXT
,
sent
|
optional
},
{
WM_NCCALCSIZE
,
sent
|
wparam
|
optional
,
1
},
{
WM_ACTIVATEAPP
,
sent
|
wparam
,
1
,
0
},
{
WM_NCACTIVATE
,
sent
|
wparam
|
lparam
,
1
,
0
},
{
WM_NCACTIVATE
,
sent
|
lparam
,
1
,
0
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
{
WM_ACTIVATE
,
sent
|
wparam
|
lparam
,
1
,
0
},
...
...
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