OpenMsgDlgInt_NonModal

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)

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Dialogs/Dialogs.h

Include

#include "Dialogs/Dialogs.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Dialogs/Dialogs.cpp

Syntax

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

Returns the dialog window reference, which the calling code should store, to identify which dialog returned

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss