Commit 0caa310c authored by Alexandre Julliard's avatar Alexandre Julliard

user32/tests: Add optional restore sequence for Vista.

parent 2dc7fc29
...@@ -590,10 +590,34 @@ static const struct message WmShowMinOverlappedSeq[] = { ...@@ -590,10 +590,34 @@ static const struct message WmShowMinOverlappedSeq[] = {
{ WM_GETTEXT, sent|defwinproc|optional }, { WM_GETTEXT, sent|defwinproc|optional },
{ WM_ACTIVATE, sent }, { WM_ACTIVATE, sent },
{ WM_ACTIVATEAPP, sent|wparam, 0 }, { WM_ACTIVATEAPP, sent|wparam, 0 },
/* Vista sometimes restores the window right away... */ /* Vista sometimes restores the window right away... */
{ WM_SYSCOMMAND, sent|optional|wparam, SC_RESTORE }, { WM_SYSCOMMAND, sent|optional|wparam, SC_RESTORE },
{ HCBT_SYSCOMMAND, hook|optional|wparam, SC_RESTORE }, { HCBT_SYSCOMMAND, hook|optional|wparam, SC_RESTORE },
{ HCBT_MINMAX, hook|optional|lparam, 0, SW_RESTORE }, { HCBT_MINMAX, hook|optional|lparam, 0, SW_RESTORE },
{ WM_QUERYOPEN, sent|optional },
{ WM_WINDOWPOSCHANGING, sent|optional|wparam, SWP_FRAMECHANGED|SWP_STATECHANGED },
{ WM_GETMINMAXINFO, sent|optional|defwinproc },
{ WM_NCCALCSIZE, sent|optional|wparam, TRUE },
{ HCBT_ACTIVATE, hook|optional },
{ WM_ACTIVATEAPP, sent|optional|wparam, 1 },
{ WM_NCACTIVATE, sent|optional },
{ WM_GETTEXT, sent|optional },
{ WM_ACTIVATE, sent|optional|wparam, 1 },
{ HCBT_SETFOCUS, hook|optional },
{ WM_IME_SETCONTEXT, sent|wparam|defwinproc|optional, 1 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 2 },
{ WM_SETFOCUS, sent|optional },
{ WM_NCPAINT, sent|optional },
{ WM_GETTEXT, sent|defwinproc|optional },
{ WM_ERASEBKGND, sent|optional },
{ WM_WINDOWPOSCHANGED, sent|optional|wparam, SWP_FRAMECHANGED|SWP_STATECHANGED },
{ WM_MOVE, sent|defwinproc|optional },
{ WM_SIZE, sent|defwinproc|optional|wparam, SIZE_RESTORED },
{ WM_ACTIVATE, sent|optional|wparam, 1 },
{ WM_SYSCOMMAND, sent|optional|wparam, SC_RESTORE },
{ HCBT_SYSCOMMAND, hook|optional|wparam, SC_RESTORE },
{ WM_PAINT, sent|optional }, { WM_PAINT, sent|optional },
{ WM_NCPAINT, sent|beginpaint|optional }, { WM_NCPAINT, sent|beginpaint|optional },
{ WM_ERASEBKGND, sent|beginpaint|optional }, { WM_ERASEBKGND, sent|beginpaint|optional },
...@@ -8229,6 +8253,7 @@ static const struct message ScrollWindowPaint1[] = { ...@@ -8229,6 +8253,7 @@ static const struct message ScrollWindowPaint1[] = {
{ WM_NCPAINT, sent|beginpaint|optional }, { WM_NCPAINT, sent|beginpaint|optional },
{ WM_GETTEXT, sent|beginpaint|optional }, { WM_GETTEXT, sent|beginpaint|optional },
{ WM_GETTEXT, sent|beginpaint|optional }, { WM_GETTEXT, sent|beginpaint|optional },
{ WM_GETTEXT, sent|beginpaint|optional },
{ WM_ERASEBKGND, sent|beginpaint|optional }, { WM_ERASEBKGND, sent|beginpaint|optional },
{ 0 } { 0 }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment