Win32 - Select Directory Dialog from C/C++

前端 未结 3 2061
我在风中等你
我在风中等你 2020-12-23 18:11

How to select an existing folder (or create new) from a native Win32 application?

Here is a similar question. It has a good answer for C#/.NET. But I want the same t

3条回答
  •  -上瘾入骨i
    2020-12-23 18:52

    For Windows Vista and above, it's best to use IFileOpenDialog with the FOS_PICKFOLDERS option for a proper open dialog rather than this tree dialog. See Common Item Dialog on MSDN for more details.

提交回复
热议问题