U_MESSAGEBOX
Syntax
int_val = U_MESSAGEBOX ( message, type, buttons, default );
- Input arguments
-
string message Message text. int
type
Specifies the type of message, ie. the icon that is shown in the message box.
Can be one of the following:
U_MB_INFO – information
U_MB_QUESTION – question
U_MB_WARNING – warning
U_MB_ERROR – errorint
buttons
Specifies the button configuration.
Can be one of the following:
U_MB_OK – OK
U_MB_YESNO – Yes/No
U_MB_YESNOCANCEL – Yes/No/Cancelint default The default button. This should be one of the possible return values.
Return Values
- Success:
-
int U_OK OK int U_YES Yes int U_NO No int U_CANCEL Cancel
Description
This function shows a message box.