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

Alexandre Julliard julliard at winehq.org
Wed Jul 1 09:28:08 CDT 2009


Module: wine
Branch: master
Commit: 163914380e1569bf585834e2c4da91ba9e70bf72
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=163914380e1569bf585834e2c4da91ba9e70bf72

Author: Rein Klazes <wijn at online.nl>
Date:   Tue Jun 30 16:30:45 2009 +0200

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

---

 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




More information about the wine-cvs mailing list