Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UEditorDialogLibrary
References
| Module | EditorScriptingUtilities |
| Header | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorDialogLibrary.h |
| Include | #include "EditorDialogLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorDialogLibrary.cpp |
UFUNCTION&40;BlueprintCallable, DisplayName&61;"Show Message Dialog",
Category&61;"Editor Scripting &124; Message Dialog"&41;
static TEnumAsByte< EAppReturnType::Type > ShowMessage
&40;
const FText & Title,
const FText & Message,
TEnumAsByte< EAppMsgType::Type > MessageType,
TEnumAsByte< EAppReturnType::Type > DefaultValue,
EAppMsgCategory MessageCategory
&41;
Remarks
Open a modal message box dialog with the given message. If running in "-unattended" mode it will immediately return the value specified by DefaultValue. If not running in "-unattended" mode then it will block execution until the user makes a decision, at which point their decision will be returned. The result of the users decision, or DefaultValue if running in unattended mode.
Parameters
| Name | Description |
|---|---|
| Title | The title of the created dialog window |
| Message | Text of the message to show |
| MessageType | Specifies which buttons the dialog should have |
| DefaultValue | If the application is Unattended, the function will log and return DefaultValue |
| MessageCategory | The category of the message (affects the icon used) |