WinXDialog_Error


WinXDialog_Error (STRING message, STRING title, severity)

Displays a message to the user.

Parameter Description
STRING message The message to display to the user
STRING title The title of the message box
severity A severity level. See remarks for more information

Returns

$$TRUE

Remarks

The severity level is a number indicating how severe the error is. A level of 0 is used for notices and debug messages, a level of 1 is for warnings, level 2 is for errors which prevent the normal behaviour of the application and level 3 is for errors so extreme that the program must quit immediately. If you display an error at level 3, WinX will quit your application automatically.

Examples

'warn the user
WinXDialog_Error ("Changing these settings could permanently prevent your computer from booting", "Warning", 1)

Related Links

WinXDialog_Message
WinXDialog_Question