Skip to main content

XGameUiShowMessageDialogUiCallback

Signature for a XGameUiShowMessageDialogAsync callback.

Syntax

Parameters

callbackHandle
Type: XGameUiCallbackHandle
Handle for this callback invocation. queue   Type: XTaskQueueHandle insert Handle to the task queue that the UI callback was executed on. titleText
Type: const char*
The text title of the message dialog. contentText
Type: const char*
The text displayed inside of the message dialog. firstButtonText
Type: const char*
The text displayed on the first button of the message dialog. secondButtonText
Type: const char*
The text displayed on the second button of the message dialog. thirdButtonText
Type: const char*
The text displayed on the third button of the message dialog. defaultButton
Type: XGameUiMessageDialogButton
Indicates which button is selected by default when the message dialog is first displayed. cancelButton
Type: XGameUiMessageDialogButton
Indicates which button represents the cancel action. context
Type: void*
Pointer to dev-provided context.

Requirements

Header: XGameUi.h Supported platforms: Supported only on Steam Deck

See also

XGameUI
XGameUiSetUiCallbacks
Last modified on August 4, 2026