I’m using FileChooser with the native dialog flag turned on. On Vista, calling browseForFileToOpen displays the correct dialog, but no files are displayed space even though there are files of the correct type in the folder.
I was able to get to work by modifying FileChooser::showPlatformDialog in the Win32-specific code (in the new 1.42 release). I added:
to the section of the code that initializes the OPENFILENAMEW struct.
In other words, the file type filter string gets copied to the filename before calling GetOpenFileName or GetSaveFileName.
I realize this may not be a good generic solution; does anyone else have any thoughts?
Thanks,
Matt