First send WM_ACTIVATE, then WM_SETFOCUS
Modified: trunk/reactos/subsys/win32k/ntuser/focus.c
--- trunk/reactos/subsys/win32k/ntuser/focus.c 2005-10-28 18:48:23 UTC (rev 18835) +++ trunk/reactos/subsys/win32k/ntuser/focus.c 2005-10-28 18:49:27 UTC (rev 18836) @@ -200,8 +200,8 @@
/* FIXME: Send WM_ACTIVATEAPP to all thread windows. */ }
+ co_IntSendActivateMessages(hWndPrev, hWnd, MouseActivate);
co_IntSendSetFocusMessages(hWndFocusPrev, hWndFocus);
- co_IntSendActivateMessages(hWndPrev, hWnd, MouseActivate);
return TRUE; }