- Found in:
- MessageBox
Description
Documentation Comment
Returns the result index from a message box created using Show_NonBlocking() or ShowArray_NonBlocking()
If IsMessageResultAvailable is false or the messageBoxId is invalid, this returns -1
else it returns the int index of the button which was selected.
Note: calling this function cleans up the stored messageBox and it will no longer be available
unless you pass deleteResultOnAccess = false
Parameters
intmessageBoxId
booldeleteResultOnAccess=true
Examples
Auto-Generated Example
int myInt__messageBoxId
bool myBool__deleteResultOnAccess
int returnedValue = SkyMessage.GetResultIndex(myInt__messageBoxId, myBool__deleteResultOnAccess)