Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Initial location for Folder Selection Dialog

Status
Not open for further replies.

Miros

Programmer
Jan 27, 2001
506
0
0
US
Which field in the structure that is passed into the Folder Selection Dialog needs to be filled in so the dialog will display that path when it first opens?
 
Well, I'm looking at this project again, and thought I'd post more info.

The structures in question are:

BROWSEINFO which is passed to SHBrowseForFolder
OPENFILENAME which is passed to GetOpenFileName and GetSaveFileName

Which fields of these structures do I fill with a path to get them to open the dialogs with that path as the "current" directory, meaning SHBrowseForFolder will have the tree open and that directory selected and GetOpenFileName or GetSaveFileName will display the files located in that directory?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top