siMsgBoxFlags
 
 
 

siMsgBoxFlags

Description

Flags values supported by the XSIUIToolkit.MsgBox command. These are identical the arguments supported by the VBScript MsgBox() and Win32 ::MessageBox() functions.

C# Syntax

siMsgBoxFlags.siMsgOkOnly                                                   // 0
siMsgBoxFlags.siMsgOkCancel                                                 // 1
siMsgBoxFlags.siMsgAbortRetryIgnore                                         // 2
siMsgBoxFlags.siMsgYesNoCancel                                              // 3
siMsgBoxFlags.siMsgYesNo                                                    // 4
siMsgBoxFlags.siMsgRetryCancel                                              // 5
siMsgBoxFlags.siMsgCritical                                                 // 16
siMsgBoxFlags.siMsgQuestion                                                 // 32
siMsgBoxFlags.siMsgExclamation                                              // 48
siMsgBoxFlags.siMsgInformation                                              // 64
siMsgBoxFlags.siMsgDefaultButton1                                           // 0
siMsgBoxFlags.siMsgDefaultButton2                                           // 256
siMsgBoxFlags.siMsgDefaultButton3                                           // 512
Constant Value Description
siMsgOkOnly 0 Display OK button only.
siMsgOkCancel 1 Display OK and Cancel buttons.
siMsgAbortRetryIgnore 2 Display Abort, Retry, and Ignore buttons.
siMsgYesNoCancel 3 Display Yes, No, and Cancel buttons.
siMsgYesNo 4 Display Yes and No buttons.
siMsgRetryCancel 5 Display Retry and Cancel buttons.
siMsgCritical 16 Display Critical Message icon.
siMsgQuestion 32 Display Query icon.
siMsgExclamation 48 Display Warning Message icon.
siMsgInformation 64 Display Information Message icon.
siMsgDefaultButton1 0 First button is default.
siMsgDefaultButton2 256 Second button is default.
siMsgDefaultButton3 512 Third button is default.

Applies To

XSIUIToolkit.MsgBox UIToolkit::MsgBox