Custom:
Caption:
BoxStyle:
Usage:
return values
| No action | -1 | OK | 1 |
| Cancel | 2 |
| Abort | 3 |
| Retry | 4 |
| Ignore | 5 |
| Yes | 6 |
| No | 7 |
caption - string
the caption of the message
boxstyle - int
When adding numbers to create a final value for the boxstyle argument, use only one number from each groupcolor.
| OKOnly | 0 | Displays OK button only. |
| OKCancel | 1 | Displays OK and Cancel buttons. |
| AbortRetryIgnore | 2 | Displays Abort, Retry, and Ignore buttons. |
| YesNoCancel | 3 | Displays Yes, No, and Cancel buttons. |
| YesNo | 4 | Displays Yes and No buttons. |
| RetryCancel | 5 | Displays Retry and Cancel buttons. |
| Critical | 16 | Displays a critical Message icon. |
| Question | 32 | Displays Warning Query icon. |
| Exclamation | 64 | Displays Warning Message icon. |
| Information | 128 | Displays Information Message icon. |
| DefaultButton1 | 0 | First button is default. |
| DefaultButton2 | 256 | Second button is default. |
| DefaultButton3 | 512 | Third button is default. |
title - string
the title of the message box
width - int
width in pixels
height - int
height in pixels