Dialog::GetDialogStatus
Defined in:
Returns the status of a dialog box.
C4Dialog.h
Prototype
int32 GetDialogStatus(void) const;
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. |