Specifies which buttons to place on a message box displayed by a call to alert method.
Symbol | Value | Description |
---|---|---|
Ok | 0 | Display a single button OK. |
OkCancel | 0x001 | Display OK and Cancel buttons. |
AbortRetryIgnore | 0x002 | Display Abort, Retry and Ignore buttons. |
YesNoCancel | 0x003 | Display Yes, No and Cancel buttons. |
YesNo | 0x004 | Display Yes and Nobuttons. |
RetryCancel | 0x005 | Display Retry and Cancel buttons. |
CancelTryContinue | 0x006 | Display Cancel, Try Again and Continue buttons. |
DefButton1 | 0 | Make the first button default. |
DefButton2 | 0x100 | Make the second button default. |
DefButton3 | 0x200 | Make the third button default. |
DefButton4 | 0x300 | Make the fourth button default. |