[PATCH] user32/tests: Fixed SetParent test on 64bit Vista

Dmitry Timoshkov dmitry at codeweavers.com
Thu Mar 31 23:03:19 CDT 2011


Austin Lund <austin.lund at gmail.com> wrote:

> --- a/dlls/user32/tests/msg.c
> +++ b/dlls/user32/tests/msg.c
> @@ -12681,6 +12681,7 @@ static const struct message WmSetParentSeq_2[] = {
>      { WM_WINDOWPOSCHANGING, sent|wparam, SWP_HIDEWINDOW|SWP_NOSIZE|SWP_NOMOVE },
>      { EVENT_OBJECT_HIDE, winevent_hook|wparam|lparam, 0, 0 },
>      { WM_WINDOWPOSCHANGED, sent|wparam, SWP_HIDEWINDOW|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE },
> +    { HCBT_SETFOCUS, hook|optional },
>      { WM_NCACTIVATE, sent|wparam, 0 },
>      { WM_ACTIVATE, sent|wparam, 0 },
>      { WM_ACTIVATEAPP, sent|wparam, 0 },

This does look correct. It's pretty strange that other Windows versions
don't send HCBT_SETFOCUS notification before WM_KILLFOCUS (which is right
after WM_ACTIVATEAPP in the message sequence).

-- 
Dmitry.



More information about the wine-devel mailing list