BrowseForFolder default

BrowseForFolder default

davidgraham's picture

I am using the BrowseForFolder function and I want it to start in a specified directory rather than in the root.
Is this possible?

BrowseForFolder is part of CommonDlgXtras.f90 which calls SHBrowseForFolder.
I must have got CommonDlgXtras.f90 from someone in this group.

Thanks, David

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Jugoslav Dujic's picture

See this Forum thread for a sample. The sample
refers to situation when entire tree is visible, but specific folder is initially selected.
If you want your folder to be the root of the tree (which is less common situation), see pidlRoot member of BROWSEINFO structure... I forgot how to get pidlRoot, though.

Regards

Jugoslav

Jugoslav www.xeffort.com

Login to leave a comment.