user32: Use SWP_NOACTIVATE flag when resizing etched static control.

Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rafał Harabień 2022-04-09 13:14:41 +02:00 committed by Alexandre Julliard
parent be0be41fca
commit 9be3f2cf11
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ LRESULT StaticWndProc_common( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
rc.right = rc.left;
AdjustWindowRectEx(&rc, full_style, FALSE, GetWindowLongW(hwnd, GWL_EXSTYLE));
NtUserSetWindowPos( hwnd, NULL, 0, 0, rc.right - rc.left, rc.bottom - rc.top,
SWP_NOMOVE | SWP_NOZORDER );
SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER );
}
switch (style) {