I\'m trying to use IFileDialog to select a folder and the following code does this just fine. The problem is I\'d like to see certain file types as well as folders while bro
Once you opt for FOS_PICKFOLDERS
then you can't see files in the dialog, only folders. If you omit FOS_PICKFOLDERS
then you can't select folders, only files. The standard dialog does not support what you are asking. You could write you own dialog but I'd be inclined to find a way to organise your application to fit around the behaviour of the standard dialog.
Sadly not possible right now, and Microsoft appears to be ignoring a request for the functionality: http://social.msdn.microsoft.com/Forums/en/windowsuidevelopment/thread/4a330e26-4d52-4fce-8a89-5c56fa132688