wordpad: Resize rebar control on window resize.

This commit is contained in:
Alexander Nicolaysen Sørnes 2007-07-19 00:24:45 +02:00 committed by Alexandre Julliard
parent 8dac319a12
commit 0b381cee30
1 changed files with 5 additions and 0 deletions

View File

@ -986,6 +986,11 @@ static LRESULT OnSize( HWND hWnd, WPARAM wParam, LPARAM lParam )
rebarRows--;
rebarHeight = rebarRows ? SendMessageW(hwndReBar, RB_GETBARHEIGHT, 0, 0) : 0;
rc.top = rc.left = 0;
rc.bottom = rebarHeight;
rc.right = LOWORD(lParam);
SendMessageW(hwndReBar, RB_SIZETORECT, 0, (LPARAM)&rc);
}
if (hwndEditor)
{