GetYesNo

MsgBox


The MsgBox function displays a string in a standard Windows Message Box. After you click [OK] the script continues.

 

Syntax

MsgBox( string )

    string is the message to display and may contain multiple lines. separated by \n.

Remarks

The MsgBox function shows a simple dialog box and does not test any return value. The dialog adjusts its size to the message text. If the message requires arguments to be formatted, use Sprintf to do the formatting in place of the string argument to MsgBox.

The related Msg and Msg2 functions are different from the present function in the following ways: they can scroll the text in a Rich Edit control and they return true or false according to which button is clicked.

Related Topics

Msg, Msg2