mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 15:16:35 +00:00
WA_* is stored in wParam, not lParam
svn path=/trunk/; revision=7582
This commit is contained in:
parent
fb7c647040
commit
117693c338
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: defwnd.c,v 1.120 2003/12/28 16:31:44 weiden Exp $
|
/* $Id: defwnd.c,v 1.121 2004/01/12 20:38:59 gvg Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS user32.dll
|
* PROJECT: ReactOS user32.dll
|
||||||
|
@ -1128,7 +1128,7 @@ User32DefWindowProc(HWND hWnd,
|
||||||
case WM_ACTIVATE:
|
case WM_ACTIVATE:
|
||||||
{
|
{
|
||||||
/* Check if the window is minimized. */
|
/* Check if the window is minimized. */
|
||||||
if (LOWORD(lParam) != WA_INACTIVE &&
|
if (LOWORD(wParam) != WA_INACTIVE &&
|
||||||
!(GetWindowLongW(hWnd, GWL_STYLE) & WS_MINIMIZE))
|
!(GetWindowLongW(hWnd, GWL_STYLE) & WS_MINIMIZE))
|
||||||
{
|
{
|
||||||
SetFocus(hWnd);
|
SetFocus(hWnd);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue