mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:16:07 +00:00
[REGEDIT] Trivial resizing code fix
This commit is contained in:
parent
b3231e0bf5
commit
125db5ead9
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ static void resize_frame_rect(HWND hWnd, PRECT prect)
|
||||||
if (IsWindowVisible(hStatusBar))
|
if (IsWindowVisible(hStatusBar))
|
||||||
{
|
{
|
||||||
SetupStatusBar(hWnd, TRUE);
|
SetupStatusBar(hWnd, TRUE);
|
||||||
GetClientRect(hStatusBar, &rt);
|
GetWindowRect(hStatusBar, &rt);
|
||||||
prect->bottom -= rt.bottom;
|
prect->bottom -= rt.bottom - rt.top;
|
||||||
}
|
}
|
||||||
MoveWindow(g_pChildWnd->hWnd, prect->left, prect->top, prect->right, prect->bottom, TRUE);
|
MoveWindow(g_pChildWnd->hWnd, prect->left, prect->top, prect->right, prect->bottom, TRUE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue