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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SHGetSpecialFolderLocation API help in VC++

Status
Not open for further replies.

ss2905

Programmer
Nov 2, 2000
10
JP
Hello ,
I am using SHBrowseForFolder to generate a Browse window to allow the user to select a folder.Next time when the user clicks on the "Browse" button , the previosly selected folder should appear highlighted.Now the problem is, the previously selected folder is highlighted and appears as the new root of the search path.This doesn't allow me to move up the tree.If the Browse window is cancelled, the default "Desktop" folder is highlighted the next time.
How can I preserve the user selected folder and also allow browsing above that folder?
for eg: the "find" utility in VC++ has a Browse button that preserves previously selected folder path.That is the kind of output that i require.
P.S. I use Win98 but do not have Shell 5.00.

Thanks in advance...

:)
ss2905
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top