On Fri Jul 25 03:20:21 2025 +0000, Esme Povirk wrote:
This appears to break the comdlg32:itemdlg tests.
Test code: executes filedialog_change_filetype() to first detect "fname1", and then detects "fname1 (*. txt)". If "fname1 (*. txt) " exists, it will also fail.
Modify code :add "(*. txt)" to pszName that does not have "(*. txt)". Only "fname1 (*. txt)" exists, without "fname1", resulting in test failure.
Can the test code program be modify directly determine "fname1 (*. txt)" ?
If the pszName is not modify in IFileDialog2_fnSetFileTypes. Can be used: on_wm_initdialog() --> SendMessageW(CB_ADDSTRING), add "(*. txt)" before sending, do not modify the original data of pszName.
How can I do it.