The CwMessagePrompter provides functionality similar to the
CwMessageBox widget described earlier. The difference is that
CwMessagePrompter uses the platform's message prompter, whereas
CwMessageBox provides the behavior of the Motif message box. On Motif platforms,
CwMessagePrompter is implemented using
CwMessageBox.
A prompter is popped up using the prompt method. Control is not returned to the application until the user responds to the prompter. The value returned by the
prompt method is
nil if the user cancels the prompter. If the user replies to the prompter without canceling, the value returned depends on the type of prompter.