OpenLogDialog_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

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UI/SLogDialog.h

Include

#include "UI/SLogDialog.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/UI/SLogDialog.cpp

Syntax

TSharedRef< SWindow > OpenLogDialog_NonModal
(
    EAppMsgType::Type InMessageType,
    const FText & InMessage,
    const FText & InTitle,
    FOnLogDialogResult 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

Optionally, specify a 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