Engine.DisplayMessageBox ( dlgTitle, messageText, msgBoxType = MsgBox_Information, dlgOptions = 0, win32Flags = 0)
Returns the user response. This is the same as the return value from the Windows SDK MessageBox function. The following are typical values: IDOK (1), IDCANCEL (2), IDYES (6), IDNO (7).
Launches a message dialog box.
Calling this method on a remote instance of the engine displays the message on the local machine.
dlgTitle As String
[In] Specifies the title of the dialog box. Pass an empty string to use the default title for the dialog box.
messageText As String
[In] Specifies the text to display in the message box.
msgBoxType As MsgBoxTypes
[In] Specifies the type of message box. This tells the message box which icon to display.
This parameter has a default value of MsgBox_Information.
dlgOptions As long
[In] Pass either CommonDlgOption_NoOptions or CommonDlgOption_ModalToAppMainWnd.
This parameter has a default value of 0.
win32Flags As long
[In] Specifies any additional flags allowed by the Windows SDK MessageBox function.
This parameter has a default value of 0.