Displays a Windows message box. A message box contains an application-defined message and title, plus any combination of predefined icons and push buttons.
Rhino.MessageBox (strMessage [, intButtons [, strTitle]])
strMessage |
Required. String. A prompt or message. |
||||||||||||||||||||||||||||||||||
intButtons |
Optional. Number. The buttons and icon to display. This parameter can be a combination of the following flags. If omitted, an OK button and no icon is displayed.
|
||||||||||||||||||||||||||||||||||
strTitle |
Optional. String. A dialog box title. |
Number |
An number indicating which button was clicked:
|
Rhino.MessageBox "Hello Rhino!"
Rhino.MessageBox "Hello Rhino!", 4 + 32
Rhino.MessageBox "Hello Rhino!", 2 + 48