https://bugs.winehq.org/show_bug.cgi?id=56238
Bug ID: 56238 Summary: file open dialog box bad behaviour Product: Wine Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comdlg32 Assignee: wine-bugs@winehq.org Reporter: ch.panel@free.fr Distribution: ---
Created attachment 75945 --> https://bugs.winehq.org/attachment.cgi?id=75945 visual studio short project showing the bug
the file opening dialog box behaves differently between wine and windows: under Windows the "ofn.lpstrFile" parameter of the OPENFILENAME structure can serve as a filter which is immediately active when the dialog box is opened, only showing the desired files, which is not the case under wine which shows all the files.
attached simple visual studio project showing the difference (lpstrFile is txt*.txt and only shows 2 files in windows among the 3 txt)