"Anatoly Lyutin" vostok@etersoft.ru wrote:
The test actually doesn't do anything useful. It doesn't check any focus windows
Hmm, I can to fix it.
and many vital message parameters.
Example?
WM_ACTIVATEAPP, WM_NCACTIVATE, WM_ACTIVATE.
Besides we already have test_SetFocus() in win.c.
Yes, I have seen this but this test does not show issue that I have found. I have written this test for one purpose : I can not understand in which cases sets hooks HCBT_SETFOCUS and HCBT_ACTIVATE for there combinations of visible/invisible windows.
It doesn't matter for a hook if a window is visible or not, so the behaviour you are trying to figure out is not useful for a test IMO.