This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Creates, displays, and operates a message box with UTF8 strings.
The message box contains a message and title, along with any combination of predefined icons and push buttons.
Syntax
Result = MSGBOXW([hParent,] Message [, Style [, Title] ])
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
hParent |
Number |
Yes |
Handle to the owner window of the message box to be created. If this parameter is zero, the message box has no owner window. |
Message |
String |
No |
A string expression that contains the message to be displayed. It can be an UTF8 wide string |
Style |
Number |
Yes |
Specifies the contents and behavior of the dialog box. This parameter can be a combination of flags from the groups of flags specified into module equates. |
Title |
String |
Yes |
A string expression that contains the dialog box title. If this parameter is an empty string, the default title "thinBasic" will be used. |
Remarks
Restrictions
See also
Examples
$LANG = "Chinese (Simplified)"
String helloworld = "你好,世界! 侨一合奏达thinBASIC"
MsgBoxW """Hello everybody from thinBASIC"" in " & $LANG & " is: " & $crlf & helloworld