The contents and behavior of the dialog box. This parameter can be a combination of flags from the following groups of flags.
To indicate the buttons displayed in the message box, specify one of the following values.
TABLE 1
Value Meaning
MB_ABORTRETRYIGNORE
0x00000002L
The message box contains three push buttons: Abort, Retry, and Ignore.
MB_CANCELTRYCONTINUE
0x00000006L
The message box contains three push buttons: Cancel, Try Again, Continue. Use this message box type instead of MB_ABORTRETRYIGNORE.
MB_HELP
0x00004000L
Adds a Help button to the message box. When the user clicks the Help button or presses F1, the system sends a WM_HELP message to the owner.
MB_OK
0x00000000L
The message box contains one push button: OK. This is the default.
MB_OKCANCEL
0x00000001L
The message box contains two push buttons: OK and Cancel.
MB_RETRYCANCEL
0x00000005L
The message box contains two push buttons: Retry and Cancel.
MB_YESNO
0x00000004L
The message box contains two push buttons: Yes and No.
MB_YESNOCANCEL
0x00000003L
The message box contains three push buttons: Yes, No, and Cancel.