MessageBoxQuestionYesNo displays a message box.
Return Value
ssRet is “YES or “NO”.
Parameters
ssDefault is “YES” or “NO”. This parameter sets the focus to the Yes or No button.
ssMessage is a scalar string containing the message text. The text can contain format sequences and newline characters "\n". See printf for a format description.
Example
if (MessageBoxQuestionYesNo("NO", "File '%s' exists. Overwrite?", ssFileName) == "YES") {
...
}
See also
Overview Dialogboxes, DialogBox, MessageBoxError, MessageBoxWarning, MessageBoxInfo, MessageBoxQuestionYesNoCancel, printf, MessageBox
id-666632