|
A
|
B
|
C
|
1
|
Constant
|
Value
|
Description
|
2
|vbOKOnly|
0
|Display OK button only.|
3
|vbOKCancel|
1
|Display OK and Cancel buttons.|
4
|vbAbortRetryIgnore|
2
|Display Abort, Retry, and Ignore buttons.|
5
|vbYesNoCancel|
3
|Display Yes, No, and Cancel buttons.|
6
|vbYesNo|
4
|Display Yes and No buttons.|
7
|vbRetryCancel|
5
|Display Retry and Cancel buttons.|
8
|vbCritical|
16
|Display Critical Message icon.|
9
|vbQuestion|
32
|Display Warning Query icon.|
10
|vbExclamation|
48
|Display Warning Message icon.|
11
|vbInformation|
64
|Display Information Message icon.|
12
|vbDefaultButton1|
0
|First button is default.|
13
|vbDefaultButton2|
256
|Second button is default.|
14
|vbDefaultButton3|
512
|Third button is default.|
15
|vbDefaultButton4|
768
|Fourth button is default.|
16
|vbApplicationModal|
0
|Application modal; the user must respond to the message box before continuing work in the current application.|
17
|vbSystemModal|
4,096
|System modal; all applications are suspended until the user responds to the message box.|
18
|vbMsgBoxHelpButton|
16,384
|Adds Help button to the message box|
19
|VbMsgBoxSetForeground|
65,536
|Specifies the message box window as the foreground window|
20
|vbMsgBoxRight|
524,288
|Text is right aligned|
21
|vbMsgBoxRtlReading|
1,048,576
| |
22
| | | |
23
| | | |
24
| | | |
25
|
Constant
|
Value
|
Description
|
26
|vbOK|
1
|OK|
27
|vbCancel|
2
|Cancel|
28
|vbAbort|
3
|Abort|
29
|vbRetry|
4
|Retry|
30
|vbIgnore|
5
|Ignore|
31
|vbYes|
6
|Yes|
32
|vbNo|
7
|No|