comdlg32: fix resizing of the file dialog browser that keeps returning to its original size.
Rein Klazes
wijn at online.nl
Tue Jun 30 09:30:45 CDT 2009
---
dlls/comdlg32/filedlg.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/comdlg32/filedlg.c b/dlls/comdlg32/filedlg.c
index 6f89697..e2d6a30 100644
--- a/dlls/comdlg32/filedlg.c
+++ b/dlls/comdlg32/filedlg.c
@@ -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
--
1.6.3.1
More information about the wine-patches
mailing list