C4 Engine
C4 Engine API Documentation

Dialog::GetDialogStatus

Defined in:  C4Dialog.h
Returns the status of a dialog box.
Prototype

int32 GetDialogStatus(voidconst;

Description
The GetDialogStatus function returns the status of a dialog box that has been dismissed. It should be called from within the dialog box's completion callback to determine how the dialog was dismissed. The return value is one of the following constants.
kDialogOkay The okay button was triggered.
kDialogCancel The cancel button was triggered.
kDialogIgnore The ignore button was triggered.
The status of a dialog box is undefined before it is dismissed by the user.