xtd 0.2.0
Loading...
Searching...
No Matches
browser_info_flags.hpp File Reference
#include <cstddef>

Definition

Contains folder browser info flags constants.

Go to the source code of this file.

Variables

constexpr size_t 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.
 
constexpr size_t BIF_DONTGOBELOWDOMAIN
 Do not include network folders below the domain level in the dialog box's tree view control.
 
constexpr size_t BIF_STATUSTEXT
 Include a status area in the dialog box. The callback function can set the status text by sending messages to the dialog box. This flag is not supported when BIF_NEWDIALOGSTYLE is specified.
 
constexpr size_t BIF_RETURNFSANCESTORS
 Include a status area in the dialog box. The callback function can set the status text by sending messages to the dialog box. This flag is not supported when BIF_NEWDIALOGSTYLE is specified.
 
constexpr size_t BIF_EDITBOX
 Include an edit control in the browse dialog box that allows the user to type the name of an item.
 
constexpr size_t BIF_VALIDATE
 If the user types an invalid name into the edit box, the browse dialog box calls the application's BrowseCallbackProc with the BFFM_VALIDATEFAILED message. This flag is ignored if BIF_EDITBOX is not specified.
 
constexpr size_t BIF_NEWDIALOGSTYLE
 Use the new user interface. Setting this flag provides the user with a larger dialog box that can be resized. The dialog box has several new capabilities, including: drag-and-drop capability within the dialog box, reordering, shortcut menus, new folders, delete, and other shortcut menu commands.
 
constexpr size_t BIF_USENEWUI
 Use the new user interface, including an edit box. This flag is equivalent to BIF_EDITBOX | BIF_NEWDIALOGSTYLE.
 
constexpr size_t BIF_BROWSEINCLUDEURLS
 The browse dialog box can display URLs. The BIF_USENEWUI and BIF_BROWSEINCLUDEFILES flags must also be set. If any of these three flags are not set, the browser dialog box rejects URLs. Even when these flags are set, the browse dialog box displays URLs only if the folder that contains the selected item supports URLs. When the folder's IShellFolder::GetAttributesOf method is called to request the selected item's attributes, the folder must set the SFGAO_FOLDER attribute flag. Otherwise, the browse dialog box will not display the URL.
 
constexpr size_t BIF_UAHINT
 When combined with BIF_NEWDIALOGSTYLE, adds a usage hint to the dialog box, in place of the edit box. BIF_EDITBOX overrides this flag.
 
constexpr size_t BIF_NONEWFOLDERBUTTON
 Do not include the New Folder button in the browse dialog box.
 
constexpr size_t BIF_NOTRANSLATETARGETS
 When the selected item is a shortcut, return the PIDL of the shortcut itself rather than its target.
 
constexpr size_t BIF_BROWSEFORCOMPUTER
 Only return computers. If the user selects anything other than a computer, the OK button is grayed.
 
constexpr size_t BIF_BROWSEFORPRINTER
 Only allow the selection of printers. If the user selects anything other than a printer, the OK button is grayed.
 
constexpr size_t BIF_BROWSEINCLUDEFILES
 The browse dialog box displays files as well as folders.
 
constexpr size_t BIF_SHAREABLE
 The browse dialog box can display sharable resources on remote systems. This is intended for applications that want to expose remote shares on a local system. The BIF_NEWDIALOGSTYLE flag must also be set.
 
constexpr size_t BIF_BROWSEFILEJUNCTIONS
 Allow folder junctions such as a library or a compressed file with a .zip file name extension to be browsed.