mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 21:20:25 +00:00
comdlg32: Fix resizing of the file dialog browser that keeps returning to its original size.
This commit is contained in:
parent
9fceef33b7
commit
163914380e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user