A CwMessagePrompter displays a message to the user and waits for a button to be pressed. A message prompter from the OS/2 platform is illustrated below.The message displayed by a message prompter is set using the messageString: method.The buttons displayed by the prompter can be changed using the buttonType: method. Valid values are:The button selected by default if the user presses the return key can be changed using the defaultButtonType:method. Valid values are:The icon displayed in the message box can be changed using the iconType: method. Valid values are:The prompt method returns one of the following values, depending on which button was pressed:
|