Platforms to show: All Mac Windows Linux Cross-Platform
Back to WinFileDialogMBS class.
Option Flags
WinFileDialogMBS.kOptionsAllNonStorageItems = &h80
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Enables the user to choose any item in the Shell namespace, not just those with SFGAO_STREAM or SFAGO_FILESYSTEM attributes. This flag cannot be combined with kOptionsForceFileSystem.
WinFileDialogMBS.kOptionsAllowMultiSelect = &h200
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Enables the user to select multiple items in the open dialog. Note that when this flag is set, the WinFileOpenDialogMBS class must be used to retrieve those items.
WinFileDialogMBS.kOptionsCreatePrompt = &h2000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Prompt for creation if the item returned in the save dialog does not exist. Note that this does not actually create the item.
WinFileDialogMBS.kOptionsDefaultNoMiniMode = &h20000000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Indicates to the Save As dialog box that it should open in expanded mode. Expanded mode is the mode that is set and unset by clicking the button in the lower-left corner of the Save As dialog box that switches between Browse Folders and Hide Folders when clicked. This value is not supported as of Windows 7.
WinFileDialogMBS.kOptionsDontAaddToRecent = &h2000000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Do not add the item being opened or saved to the recent documents list.
WinFileDialogMBS.kOptionsFileMustExist = &h1000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
The item returned must exist. This is a default value for the Open dialog.
WinFileDialogMBS.kOptionsForceFileSystem = &h40
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Ensures that returned items are file system items. Note that this does not apply to items returned by CurrentSelection.
WinFileDialogMBS.kOptionsForcePreviewPaneOn = &h40000000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Indicates to the Open dialog box that the preview pane should always be displayed.
WinFileDialogMBS.kOptionsForceShowHidden = &h10000000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Include hidden and system items.
WinFileDialogMBS.kOptionsHideMRUPlaces = &h20000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Hide the list of places from which the user has recently opened or saved items. This value is not supported as of Windows 7.
WinFileDialogMBS.kOptionsHidePinnedPlaces = &h40000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Hide items shown by default in the view's navigation pane. This flag is often used in conjunction with the AddPlace method, to hide standard locations and replace them with custom locations.
Windows 7 and later. Hide all of the standard namespace locations (such as Favorites, Libraries, Computer, and Network) shown in the navigation pane.
Windows Vista. Hide the contents of the Favorite Links tree in the navigation pane. Note that the category itself is still displayed, but shown as empty.
WinFileDialogMBS.kOptionsNoChangeDir = 8
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Don't change the current working directory.
WinFileDialogMBS.kOptionsNoDereferenceLinks = &h100000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Shortcuts should not be treated as their target items. This allows an application to open a .lnk file rather than what that file is a shortcut to.
WinFileDialogMBS.kOptionsNoReadOnlyReturn = &h8000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Do not return read-only items. This is a default value for the Save dialog.
WinFileDialogMBS.kOptionsNoTestFileCreate = &h10000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Do not test whether creation of the item as specified in the Save dialog will be successful. If this flag is not set, the calling application must handle errors, such as denial of access, discovered when the item is created.
WinFileDialogMBS.kOptionsNoValidate = &h100
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Do not check for situations that would prevent an application from opening the selected file, such as sharing violations or access denied errors.
WinFileDialogMBS.kOptionsOKButtonNeedsInteraction = &h200000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
OKButton needs interaction?
WinFileDialogMBS.kOptionsOverwritePrompt = 2
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
When saving a file, prompt before overwriting an existing file of the same name. This is a default value for the Save dialog.
WinFileDialogMBS.kOptionsPathMustExist = &h800
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
The item returned must be in an existing folder. This is a default value.
WinFileDialogMBS.kOptionsPickFolders = &h20
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Present an Open dialog that offers a choice of folders rather than files.
WinFileDialogMBS.kOptionsShareaware = &h4000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
In the case of a sharing violation when an application is opening a file, call the application back through ShareViolation event for guidance. This flag is overridden by kOptionsNoValidate.
WinFileDialogMBS.kOptionsStrictFileTypes = 4
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
In the Save dialog, only allow the user to choose a file that has one of the file name extensions specified through SetFileTypes.
WinFileDialogMBS.kOptionsSupportsStreamableItems = &h80000000
Type | Topic | Plugin | Version |
const | Navigation | MBS WinFrameworks Plugin | 20.1 |
Indicates that the caller is opening a file as a stream (BHID_Stream), so there is no need to download that file.
The items on this page are in the following plugins: MBS WinFrameworks Plugin.
