mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 11:33:31 +08:00
[REGEDIT] Check the correct value in WM_ACTIVATE (#6895)
This commit is contained in:
parent
965230ded4
commit
15c42f3ef8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user