comdlg32: Fix resizing of the file dialog browser that keeps returning to its original size.

This commit is contained in:
Rein Klazes 2009-06-30 16:30:45 +02:00 committed by Alexandre Julliard
parent 9fceef33b7
commit 163914380e
1 changed files with 7 additions and 0 deletions

View File

@ -1051,6 +1051,13 @@ static LRESULT FILEDLG95_OnWMSize(HWND hwnd, WPARAM wParam, LPARAM lParam)
0, 0,
SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOZORDER);
}
else if( GetDlgCtrlID( ctrl) == IDC_SHELLSTATIC)
{
DeferWindowPos( hdwp, ctrl, NULL, 0, 0,
rc.right - rc.left + chgx,
rc.bottom - rc.top + chgy,
SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOZORDER);
}
else if( rc.top > rcview.bottom)
{
/* if it was below the shell view