The global constants for message boxes are listed in the following table. (For more details, see the
Global Constant | Integer Value | Description |
---|---|---|
MsgBox_Abort_Retry_Ignore | 2 | Displays the Abort, Retry, and Ignore buttons |
MsgBox_App_Modal | 0 | User must respond to the message box before continuing work |
MsgBox_Default_First | 0 | First button is the default |
MsgBox_Default_Second | 256 | Second button is the default |
MsgBox_Default_Third | 512 | Third button is the default |
MsgBox_Exclamation_Mark_Icon | 48 | Displays the Exclamation Mark icon |
MsgBox_Information_Icon | 64 | Displays the Information icon |
MsgBox_OK_Cancel | 1 | Displays the OK and Cancel buttons |
MsgBox_OK_Only | 0 | Displays only the OK button |
MsgBox_Question_Mark_Icon | 32 | Displays the Question Mark icon |
MsgBox_Retry_Cancel | 5 | Displays the Retry and Cancel buttons |
MsgBox_Return_Abort | 3 | Returned when the Abort button has been selected |
MsgBox_Return_Cancel | 2 | Returned when the Cancel button or the Esc key has been selected |
MsgBox_Return_Ignore | 5 | Returned when the Ignore button has been selected |
MsgBox_Return_No | 7 | Returned when the No button has been selected |
MsgBox_Return_OK | 1 | Returned when the OK button has been selected |
MsgBox_Return_Retry | 4 | Returned when the Retry button has been selected |
MsgBox_Return_Yes | 6 | Returned when the Yes button has been selected |
MsgBox_Stop_Icon | 16 | Displays the Stop icon |
MsgBox_System_Modal | 4096 | All applications are suspended until the user responds to the message box |
MsgBox_Yes_No | 4 | Displays Yes and No buttons |
MsgBox_Yes_No_Cancel | 3 | Displays Yes, No, and Cancel buttons |