Possible flags are:
BIF_BROWSEFORCOMPUTER - Only return computers. If the
user selects anything other than a computer, the OK button is
grayed.
BIF_BROWSEFORPRINTER - Only return printers. If the user
selects anything other than a printer, the OK button is grayed.
BIF_BROWSEINCLUDEFILES - The browse dialog will display
files as well as folders.
BIF_DONTGOBELOWDOMAIN - Do not include network folders
below the domain level in the tree view control.
BIF_EDITBOX - Version 4.71. The browse dialog includes
an edit control in which the user can type the name of an item.
BIF_RETURNFSANCESTORS - Only return file system ancestors.
If the user selects anything other than a file system ancestor,
the OK button is grayed.
BIF_RETURNONLYFSDIRS - Only return file system directories.
If the user selects folders that are not part of the file system,
the OK button is grayed.
BIF_NEWDIALOGSTYLE - Uses the new style dialog box, this
box is sizable and has a "Create Folder" button. It
is generally much nicer and easier to use.
BIF_USENEWUI - Uses the new user interface. Shortcut
to BIF_NEWDIALOGSTYLE and BIF_EDITOBOX.
iFlags defaults to BIF_NEWDIALOGSTYLE Or BIF_RETURNONLYFSDIRS.
|