Is it possible to make a FolderBrowserDialog's default path show up in a library instead of the actual disk?

前端 未结 4 1722
梦谈多话
梦谈多话 2021-01-07 18:26

I know that if I set SelectedPath before I show the dialog I can get it to have a folder open by default when the dialog opens. However, the folder I want to us

4条回答
  •  [愿得一人]
    2021-01-07 18:59

    The easiest way would probably be to put shortcuts to the folders you want into your starting folder. Then, just double click on the shortcut and it will take you to your folder.

    Otherwise you will need to use the Shell Library API See: Using Libraries in your Program

提交回复
热议问题