When I try to instantiate a CFileDialog object it shows both the folders and files. How do you create a CFileDialog that browses for folders alone?
CFileDialog
It is very simple, really.
Use CFolderPickerDialog which is derived from the class CFileDialog!