<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > General functions > MsgboxW |
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