The new BrowseForFolder with New Folder

  • Thread starter Thread starter bhammerstrom
  • Start date Start date
B

bhammerstrom

Guest
A2K, Win2K and WinXP

I am currently using SHBrowseForFolder to let the user select a destination folder.

But how do I call the new version of that dialog which also allows the user-browser to create a new folder if the desired destination does not exist.

I read that the new dialog can be called using the flag, BIF_NEWDIALOGSTYLE in the BROWSEINFO section, like this:

http://msdn.microsoft.com/library/d...orm/shell/reference/structures/browseinfo.asp

I'm close. . . Do I need to define, "Const BIF_NEWDIALOGSTYLE = 1" or similar???

I have the line, BI.ulFlags = BIF_NEWDIALOGSTYLE in the Function GetFolder, but this isn't working.

Must I (and how?) do I use CoInitializeEx??

Brad H.
 

Users who are viewing this thread

Back
Top Bottom