Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Dialogs
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Dialogs/Dialogs.h |
| Include | #include "Dialogs/Dialogs.h" |
TSharedRef < SWindow > OpenMsgDlgInt_NonModal
(
EAppMsgType::Type InMessageType,
const FText & InMessage,
const FText & InTitle,
FOnMsgDlgResult ResultCallback
)
Remarks
Opens a non-modal/non-blocking message box, which returns its result through a delegate/callback, using a reference to the created window, to identify which dialog has returned a result (in case there are multiple dialog windows) Returns the dialog window reference, which the calling code should store, to identify which dialog returned
Parameters
| Name | Description |
|---|---|
| InMessageType | The type of message box to display (e.g. 'ok', or 'yes'/'no' etc.) |
| InMessage | The message to display in the message box |
| InTitle | The title to display for the message box |
| ResultCallback | The delegate/callback instance, where results should be returned |