user32:msg: Test for SetFocus

Anatoly Lyutin vostok at etersoft.ru
Thu Jun 19 05:24:58 CDT 2008


Dmitry Timoshkov wrote:
>> Example?
>
> WM_ACTIVATEAPP, WM_NCACTIVATE, WM_ACTIVATE.
>
I shall see this..
>
> It doesn't matter for a hook if a window is visible or not,
How I can see from this test - it is matter:

/* SetFocus( hwnd ) Invisible parent, visible child */
static const struct message SetFocusSeq_5[] =
{
    { HCBT_SETFOCUS, hook },
    { HCBT_ACTIVATE, hook },
   { WM_WINDOWPOSCHANGING, sent|wparam, SWP_NOSIZE|SWP_NOMOVE },
 
...

and

/* SetFocus( hwnd ) Invisible parent, invisible child */
static const struct message SetFocusSeq_8[] =
{
    { HCBT_SETFOCUS, hook },
    { WM_IME_SETCONTEXT, sent|wparam|optional, 1 },

Am I wrong?

I know a little about hooks :(.

> so the behaviour
> you are trying to figure out is not useful for a test IMO.
>
It may to be true, but I have seen a  difference from message sequences  
in Windows and Wine. Only this have motivated me to post this test in 
wine-patches list.



-- 
Best regards
	Anatoly Lyutin.




More information about the wine-devel mailing list