Home Texas Server Home Page

System::MessageBox

The System::MessageBox method creates and displays a window that contains an application-supplied message and caption.
public System::MessageBox(
   WString Message,
   WString Title = TVariable::None
   Integer Type = TVariable::None
:  Integer Result
);

Parameters

Message An Unicode WString containing the message to be displayed.
Title An Unicode WString containing the MessageBox title to be displayed.
Type Will default to MB_TASKMODAL|MB_ICONINFORMATION.
Result The Results returned by the system call the MessageBox.

Return Values

The error.errorCode value will be set to the underlining windows error message code and the error.errorString will have a detailed description of the error

Remarks

Example Use

System::MessageBox(L"Hello to all, I have made this position in the script");

Requirements

TScript Version:1.0

Also See

Copyright © 2008-2009, Ekky Software Pty Ltd.