mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[USER32] Check whether the window is minimized upon SM_REPOSITION CORE-16490
This commit is contained in:
parent
36163a235b
commit
fa264251a7
1 changed files with 3 additions and 0 deletions
|
@ -1190,6 +1190,9 @@ static void DEFDLG_Reposition(HWND hwnd)
|
|||
if (GetWindowLongW(hwnd, GWL_STYLE) & WS_CHILD)
|
||||
return;
|
||||
|
||||
if (IsIconic(hwnd))
|
||||
return;
|
||||
|
||||
hMon = MonitorFromWindow(hwnd, MONITOR_DEFAULTTONEAREST);
|
||||
|
||||
if (!GetMonitorInfoW(hMon, &mi) || !GetWindowRect(hwnd, &rc))
|
||||
|
|
Loading…
Reference in a new issue