constants OutStyle
The OutStyle enumeration values specifies the look and feel for your message box. Use the Out method to invoke a message box with a specified style. The first group of values (0–5) describes the number and type of buttons displayed in the message box; the second group (16, 32, 48, 64) describes the icon style; the third group (256, 512) determines which button is the default; the fourth group (4096) determines the modality of the message box, and the fifth group specifies whether or not the message box window is the foreground window, along with the alignment and direction of the text.

NameValueDescription
exOKOnly0 Displays OK button only.
exOKCancel1 Displays OK and Cancel buttons.
exAbortRetryIgnore2 Displays Abort, Retry, and Ignore buttons.
exYesNoCancel3 Displays Yes, No, and Cancel buttons.
exYesNo4 Displays Yes and No buttons.
exRetryCancel5 Displays Retry and Cancel buttons.
exCritical16 Displays Critical Message icon. 
exQuestion32 Displays Warning Query icon. 
exExclamation48 Displays Warning Message icon.
exInformation64 Displays Information Message icon.
exDefaultButton2256 Second button is default.
exDefaultButton3512 Third button is default.
exSystemModal4096 System is modal. All applications are suspended until the user responds to the message box.
exMsgBoxSetForeground65536 Specifies the message box window as the foreground window.
exMsgBoxRight524288 Text is right-aligned.
exMsgBoxRtlReading1048576 Specifies text should appear as right-to-left reading on Hebrew and Arabic systems.