Sets the message box buttons and icon style for the MessageText.
Read-write property
object.MessageType = [ value ] |
CursorOptions is a long specifying the type of functionality that should be tested for. Multiple CursorOptions can be combined using the OR operator. The following CursorOptions values are supported:
Value | Description |
---|---|
0 | Display OK button only. |
1 | Display OK and Cancel buttons. |
2 | Display Abort, Retry, and Ignore buttons. |
3 | Display Yes, No, and Cancel buttons. |
4 | Display Yes and No buttons. |
5 | Display Retry and Cancel buttons. |
16 | Display Critical Message icon. |
32 | Display Warning Query icon. |
48 | Display Warning Message icon. |
64 | Display Information Message icon. |
0 | First button is default. |
4 | Display Yes and No buttons. |
256 | Second button is default. |
512 | Third button is default. |