GUI Help > Dialogs > questionMessage
questionMessage
bool result=questionMessage(str text, str caption)
Description: Displays a question (Yes/No) message box and returns the user's response.
Return Value: 0 if the user selected "No", 1 if the user selected "Yes"
Parameters:
text | The text of the question, eg: "Do you want to save?"
caption | The caption of the message box, eg "Save Changes?"
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)