http://bugs.winehq.org/show_bug.cgi?id=5034
Summary: Wrong size of commdlg OpenFile dialog in radvideo.exe Product: Wine Version: 0.9.11. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-user AssignedTo: wine-bugs@winehq.org ReportedBy: hannibal@megapolis.pl
The radvideo's (http://www.radgametools.com/down/Bink/RADTools.exe) GetFileName95 child dialog is cut down. Run radvideo.exe and you will know, what I mean.
I try to investigate what's wrong, but I'm stuck.
First of all it return fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented (OFN_ENABLESIZING) - but this is probaly irrevelant to this.
If found that size of "File Dialog" is set by the The "ArrangeCtrlPositions" function. In this case it won't work. I fix it (set good size in this case, but this fix is probably wrong because I don't understand function) but it didn't help.
So, for debug I print all WM_SIZE's params in "FileOpenDlgProc95". This tell me that, ArrangeCtrlPositions works well but it occurs anothers window resizing (4). First two are wrong, third are OK and last is wrong. I can't see any code responsible for this additional "resizes". Directy they are caused by WM_MOVE or WM_WINDOWPOSCHANGED. They occurs after end of WM_INITDIALOG.
I suspect that somwhere is some a ugly workaround for broken ArrangeCtrlPositions which set inital width to dialog, instead counted by this function.