Enum ComDlg32FileDialog.OpenFileNameFlags
Namespace: PoeShared.Dialogs.Services
Assembly: PoeShared.Wpf.dll
Syntax
[Flags]
public enum ComDlg32FileDialog.OpenFileNameFlags
Fields
Name | Description |
---|---|
OFN_ALLOWMULTISELECT | Allows multiple file selections. |
OFN_CREATEPROMPT | If the user specifies a file that does not exist, this flag causes the dialog box to prompt the user for permission to create the file. If the user chooses to create the file, the dialog box closes. |
OFN_DONTADDTORECENT | Prevents adding to the list of recently used files on the File menu. |
OFN_ENABLEHOOK | Enables the hook procedure specified in the OPENFILENAME structure. |
OFN_ENABLEINCLUDENOTIFY | Enables the inclusion of items that are not in the file system. |
OFN_ENABLESIZING | Enables resizing of the File Name listbox and dialog box in an Open or Save As dialog box. |
OFN_ENABLETEMPLATE | Enables the template specified in the OPENFILENAME structure. |
OFN_ENABLETEMPLATEHANDLE | Indicates that the hInstance member specifies a data block that contains a preloaded dialog box template. The system ignores the lpTemplateName if this flag is specified. |
OFN_EXPLORER | Specifies that the dialog box should use the Explorer-style dialog box. |
OFN_EXTENSIONDIFFERENT | The File Name entry field specifies a file name extension that differs from the extension specified by the Default Extension. |
OFN_EX_NOPLACESBAR | Hide the places bar in open/save dialog box. |
OFN_FILEMUSTEXIST | The user can type only names of existing files in the File Name entry field. |
OFN_FORCESHOWHIDDEN | Forces the dialog box to show all files, regardless of their system or hidden attribute settings. |
OFN_HIDEREADONLY | The dialog box hides the Read Only check box. |
OFN_LONGNAMES | Specifies that long file names should be returned. |
OFN_NOCHANGEDIR | Restores the current directory to the original value if the user changed the directory while searching for files. |
OFN_NODEREFERENCELINKS | Directs the dialog box to return the path and file name of the selected shortcut (.LNK) file. |
OFN_NOLONGNAMES | Indicates that the returned file name must not include the path. In other words, the path and file name must be concatenated. |
OFN_NONETWORKBUTTON | Hides and disables the Network button. |
OFN_NOREADONLYRETURN | Specifies that only non-readonly files can be selected. The chosen file name is not checked to see if it is an existing read-only file. |
OFN_NOTESTFILECREATE | Specifies that the file is not created before the dialog box is closed. This flag is useful for saving a file or document that has not yet been created. |
OFN_NOVALIDATE | The common dialog boxes will return the path and file name specified in the lpstrFile member. |
OFN_OVERWRITEPROMPT | The Save As dialog box prompts the user for confirmation before overwriting a file. |
OFN_PATHMUSTEXIST | The user can only type valid paths and file names into the File Name entry field. |
OFN_READONLY | Enables the Read Only check box in the dialog box. |
OFN_SHAREAWARE | Specifies that if a call to the OpenFile function fails because of a network sharing violation, the error is ignored and the dialog box returns the selected file name. |
OFN_SHOWHELP | Shows the Help button in the dialog box. |