CFileDialog :: Browse folders

后端 未结 6 1052
野性不改
野性不改 2020-12-17 22:39

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?

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-17 23:17

    It is very simple, really.

    Use CFolderPickerDialog which is derived from the class CFileDialog!

提交回复
热议问题