سؤال

I am looking for vista style folder browse dialog with abily to choose folder path only.

Looks like that: enter image description here

I have checked the VistaBridge and Microsoft Code Pack API, but there are only dialogs for file opening.

Do you know how to call this dialog or some solutions to customize standart FileBrowseDialogs? Thanks.

هل كانت مفيدة؟

المحلول

You need to use SHBrowseForFolder API to have that Dialog, full example and documentation can be found here: http://msdn.microsoft.com/en-us/library/windows/desktop/bb762115(v=vs.85).aspx

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top