[Bug 5034] Wrong size of commdlg OpenFile dialog in radvideo.exe

Wine Bugs wine-bugs at winehq.org
Sun Apr 9 23:00:03 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5034


mike at codeweavers.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1




------- Additional Comments From mike at codeweavers.com  2006-09-04 23:00 -------

Maybe something like this can point you in the right direction when trying to
fix the bug?

diff --git a/dlls/commdlg/filedlg.c b/dlls/commdlg/filedlg.c
index 428841f..d46e7b0 100644
--- a/dlls/commdlg/filedlg.c
+++ b/dlls/commdlg/filedlg.c
@@ -696,6 +696,8 @@ static void ArrangeCtrlPositions(HWND hw
     else
     {
         rectParent.bottom += rectChild.bottom;
+        if (rectParent.right < rectChild.right)
+            rectParent.right = rectChild.right;
     }
 
     /* finally use fixed parent size */


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list