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

SHBrowseForFolder help

Status
Not open for further replies.

MrM121

Programmer
Aug 21, 2003
83
GB
Hi,

I am trying to use one of the code samples for the above shell function. It works fine...almost. I kind of understand how to use the flags to create certain things, such as the BIF_NEWDIALOGSTYLE flag for a "Make Folder" button. However, I want to use two flags "BIF_NEWDIALOGSTYLE + BIF_RETURNONLYFSDIRS" or "BIF_NEWDIALOGSTYLE Or BIF_RETURNONLYFSDIRS". However, this does not have the desired effect. With the latter of the two flags, I know that it disables the "OK" button if it is not a file system folder, but when both flags are used, this no longer happens.

Can anyone explain/rectify this?

Thank you,

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top