7#if !defined(OFN_READONLY)
constexpr size_t OFN_PATHMUSTEXIST
The user can type only valid paths and file names. If this flag is used and the user types an invalid...
Definition open_file_name_flags.hpp:91
constexpr size_t OFN_NOCHANGEDIR
Restores the current directory to its original value if the user changed the directory while searchin...
Definition open_file_name_flags.hpp:35
constexpr size_t OFN_NOTESTFILECREATE
The file is not created before the dialog box is closed. This flag should be specified if the applica...
Definition open_file_name_flags.hpp:126
constexpr size_t OFN_SHOWHELP
Causes the dialog box to display the Help button. The hwndOwner member must specify the window to rec...
Definition open_file_name_flags.hpp:42
constexpr size_t OFN_CREATEPROMPT
If the user specifies a file that does not exist, this flag causes the dialog box to prompt the user ...
Definition open_file_name_flags.hpp:105
constexpr size_t OFN_EXTENSIONDIFFERENT
The user typed a file name extension that differs from the extension specified by lpstrDefExt....
Definition open_file_name_flags.hpp:84
constexpr size_t OFN_FILEMUSTEXIST
The user can type only names of existing files in the File Name entry field. If this flag is specifie...
Definition open_file_name_flags.hpp:98
constexpr size_t OFN_HIDEREADONLY
Hides the Read Only check box.
Definition open_file_name_flags.hpp:28
constexpr size_t OFN_LONGNAMES
For old-style dialog boxes, this flag causes the dialog box to use long file names....
Definition open_file_name_flags.hpp:161
constexpr size_t OFN_ENABLESIZING
Enables the Explorer-style dialog box to be resized using either the mouse or the keyboard....
Definition open_file_name_flags.hpp:175
constexpr size_t OFN_NOLONGNAMES
For old-style dialog boxes, this flag causes the dialog box to use short file names (8....
Definition open_file_name_flags.hpp:140
constexpr size_t OFN_FORCESHOWHIDDEN
Forces the showing of system and hidden files, thus overriding the user setting to show or not show h...
Definition open_file_name_flags.hpp:189
constexpr size_t OFN_EXPLORER
Indicates that any customizations made to the Open or Save As dialog box use the Explorer-style custo...
Definition open_file_name_flags.hpp:147
constexpr size_t OFN_ENABLEINCLUDENOTIFY
Causes the dialog box to send CDN_INCLUDEITEM notification messages to your OFNHookProc hook procedur...
Definition open_file_name_flags.hpp:168
constexpr size_t OFN_ADDEXTENSION
Cause the dialog box automatically adds an extension to a file name if the user omits the extension.
Definition open_file_name_flags.hpp:204
constexpr size_t OFN_READONLY
Causes the Read Only check box to be selected initially when the dialog box is created....
Definition open_file_name_flags.hpp:14
constexpr size_t OFN_ENABLETEMPLATE
The lpTemplateName member is a pointer to the name of a dialog template resource in the module identi...
Definition open_file_name_flags.hpp:56
constexpr size_t OFN_NOREADONLYRETURN
The returned file does not have the Read Only check box selected and is not in a write-protected dire...
Definition open_file_name_flags.hpp:119
constexpr size_t OFN_ENABLEHOOK
Enables the hook function specified in the lpfnHook member.
Definition open_file_name_flags.hpp:49
constexpr size_t OFN_OVERWRITEPROMPT
Causes the Save As dialog box to generate a message box if the selected file already exists....
Definition open_file_name_flags.hpp:21
constexpr size_t OFN_SHAREAWARE
Specifies that if a call to the OpenFile function fails because of a network sharing violation,...
Definition open_file_name_flags.hpp:112
constexpr size_t OFN_NODEREFERENCELINKS
Directs the dialog box to return the path and file name of the selected shortcut (....
Definition open_file_name_flags.hpp:154
constexpr size_t OFN_DONTADDTORECENT
Prevents the system from adding a link to the selected file in the file system directory that contain...
Definition open_file_name_flags.hpp:182
constexpr size_t OFN_NOVALIDATE
The common dialog boxes allow invalid characters in the returned file name. Typically,...
Definition open_file_name_flags.hpp:70
constexpr size_t OFN_ENABLETEMPLATEHANDLE
The hInstance member identifies a data block that contains a preloaded dialog box template....
Definition open_file_name_flags.hpp:63
constexpr size_t OFN_NONETWORKBUTTON
Hides and disables the Network button.
Definition open_file_name_flags.hpp:133
constexpr size_t OFN_ALLOWMULTISELECT
The File Name list box allows multiple selections. If you also set the OFN_EXPLORER flag,...
Definition open_file_name_flags.hpp:77
constexpr size_t OFN_SHOWPREVIEW
Causes the dialog box to display the preview panel.
Definition open_file_name_flags.hpp:197