First send WM_ACTIVATE, then WM_SETFOCUS

svn path=/trunk/; revision=18836
This commit is contained in:
Gé van Geldorp 2005-10-28 18:49:27 +00:00
parent 6d06d18b14
commit fc5c3ee4b0

View file

@ -200,8 +200,8 @@ co_IntSetForegroundAndFocusWindow(PWINDOW_OBJECT Window, PWINDOW_OBJECT FocusWin
/* FIXME: Send WM_ACTIVATEAPP to all thread windows. */
}
co_IntSendSetFocusMessages(hWndFocusPrev, hWndFocus);
co_IntSendActivateMessages(hWndPrev, hWnd, MouseActivate);
co_IntSendSetFocusMessages(hWndFocusPrev, hWndFocus);
return TRUE;
}