mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[WIN32K:NTUSER]
- Properly set the window minimize status in WM_ACTIVATE's WPARAM. CID 513028, 513029 svn path=/trunk/; revision=69651
This commit is contained in:
parent
44f11315a4
commit
8325a50be7
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ co_IntSendDeactivateMessages(HWND hWndPrev, HWND hWnd)
|
|||
if (co_IntSendMessageNoWait(hWndPrev, WM_NCACTIVATE, FALSE, 0)) //(LPARAM)hWnd))
|
||||
{
|
||||
co_IntSendMessageNoWait(hWndPrev, WM_ACTIVATE,
|
||||
MAKEWPARAM(WA_INACTIVE, WndPrev->style & WS_MINIMIZE),
|
||||
MAKEWPARAM(WA_INACTIVE, (WndPrev->style & WS_MINIMIZE) != 0),
|
||||
(LPARAM)hWnd);
|
||||
|
||||
if (WndPrev)
|
||||
|
@ -248,7 +248,7 @@ co_IntSendActivateMessages(PWND WindowPrev, PWND Window, BOOL MouseActivate, BOO
|
|||
|
||||
co_IntSendMessage( UserHMGetHandle(Window),
|
||||
WM_ACTIVATE,
|
||||
MAKEWPARAM(MouseActivate ? WA_CLICKACTIVE : WA_ACTIVE, Window->style & WS_MINIMIZE),
|
||||
MAKEWPARAM(MouseActivate ? WA_CLICKACTIVE : WA_ACTIVE, (Window->style & WS_MINIMIZE) != 0),
|
||||
(LPARAM)(WindowPrev ? UserHMGetHandle(WindowPrev) : 0));
|
||||
|
||||
if (Window->spwndParent == UserGetDesktopWindow() &&
|
||||
|
|
Loading…
Reference in a new issue