Navigation
API > API/Developer > API/Developer/DesktopPlatform > API/Developer/DesktopPlatform/IDesktopPlatform
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool OpenFileDialog
(
const void* ParentWindowHandle, |
Opens the "open file" dialog for the platform. | IDesktopPlatform.h | |
bool OpenFileDialog
(
const void* ParentWindowHandle, |
Opens the "open file" dialog for the platform. | IDesktopPlatform.h |
OpenFileDialog(const void *, const FString &, const FString &, const FString &, const FString &, uint32, TArray< FString > &)
Description
Opens the "open file" dialog for the platform.
| Name | OpenFileDialog |
| Type | function |
| Header File | /Engine/Source/Developer/DesktopPlatform/Public/IDesktopPlatform.h |
| Include Path | #include "IDesktopPlatform.h" |
bool OpenFileDialog
(
const void * ParentWindowHandle,
const FString & DialogTitle,
const FString & DefaultPath,
const FString & DefaultFile,
const FString & FileTypes,
uint32 Flags,
TArray< FString > & OutFilenames
)
true if files were successfully selected.
Parameters
| Name | Remarks |
|---|---|
| ParentWindowHandle | The native handle to the parent window for this dialog. |
| DialogTitle | The text for the title of the dialog window. |
| DefaultPath | The path where the file dialog will open initially. |
| DefaultFile | The file that the dialog will select initially. |
| FileTypes | The type filters to show in the dialog. This string should be a "|" delimited list of (Description|Extensionlist) pairs. Extensionlists are ";" delimited. |
| Flags | Details about the dialog. See EFileDialogFlags. |
| OutFilenames | The filenames that were selected in the dialog. |
OpenFileDialog(const void *, const FString &, const FString &, const FString &, const FString &, uint32, TArray< FString > &, int32 &)
Description
Opens the "open file" dialog for the platform.
| Name | OpenFileDialog |
| Type | function |
| Header File | /Engine/Source/Developer/DesktopPlatform/Public/IDesktopPlatform.h |
| Include Path | #include "IDesktopPlatform.h" |
bool OpenFileDialog
(
const void * ParentWindowHandle,
const FString & DialogTitle,
const FString & DefaultPath,
const FString & DefaultFile,
const FString & FileTypes,
uint32 Flags,
TArray< FString > & OutFilenames,
int32 & OutFilterIndex
)
true if files were successfully selected.
Parameters
| Name | Remarks |
|---|---|
| ParentWindowHandle | The native handle to the parent window for this dialog. |
| DialogTitle | The text for the title of the dialog window. |
| DefaultPath | The path where the file dialog will open initially. |
| DefaultFile | The file that the dialog will select initially. |
| FileTypes | The type filters to show in the dialog. This string should be a "|" delimited list of (Description|Extensionlist) pairs. Extensionlists are ";" delimited. |
| Flags | Details about the dialog. See EFileDialogFlags. |
| OutFilenames | The filenames that were selected in the dialog. |
| OutFilterIndex | The type that was selected in the dialog. |