mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 17:31:23 +08:00
[REGEDIT] Check the correct value in WM_ACTIVATE (#6895)
This commit is contained in:
@@ -1400,7 +1400,7 @@ LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||
return DefWindowProcW(hWnd, message, wParam, lParam);
|
||||
break;
|
||||
case WM_ACTIVATE:
|
||||
if (LOWORD(hWnd) && g_pChildWnd)
|
||||
if (LOWORD(wParam) != WA_INACTIVE && g_pChildWnd)
|
||||
SetFocus(g_pChildWnd->hWnd);
|
||||
break;
|
||||
case WM_SIZE:
|
||||
|
||||
Reference in New Issue
Block a user