The fields of the MessageBox class are listed below. For a complete list of MessageBox class members, see the MessageBox Members topic.
AbortRetryIgnore | Specifies that the message box contains Abort, Retry, and Ignore buttons. This field is constant. |
DefaultButton1 | Specifies that the first button on the message box should be the default button. This field is constant. |
DefaultButton2 | Specifies that the second button on the message box should be the default button. This field is constant. |
DefaultButton3 | Specifies that the third button on the message box should be the default button. This field is constant. |
DefaultDesktopOnly | Specifies that the message box is displayed on the active desktop. This field is constant. |
IconAsterisk | Specifies that the message box contains an asterisk symbol. This field is constant. |
IconError | Specifies that the message box contains a hand icon. This field is constant. |
IconExclamation | Specifies that the message box contains an exclamation symbol. This field is constant. |
IconHand | Specifies that the message box contains a hand symbol. This field is constant. |
IconInformation | Specifies that the message box contains an asterisk icon. This field is constant. |
IconQuestion | Specifies that the message box contains a question mark symbol. This field is constant. |
IconStop | Specifies that the message box contains a hand icon. This field is constant. |
IconWarning | Specifies that the message box contains an exclamation icon. This field is constant. |
OK | Specifies that the message box contains an OK button. This field is constant. |
OKCancel | Specifies that the message box contains OK and Cancel buttons. This field is constant. |
RetryCancel | Specifies that the message box contains Retry and Cancel buttons. This field is constant. |
ServiceNotification | Specifies that the message box is displayed on the active desktop. This field is constant. |
YesNo | Specifies that the message box contains Yes and No buttons. This field is constant. |
YesNoCancel | Specifies that the message box contains Yes, No, and Cancel buttons. This field is constant. |