MessageBox methods
Use the MessageBox methods to display a message to the user and return a result.
Methods
Method | Description | Parameters | Result Type |
ShowInputBox | Displays a text message or a question to a user. The text message
that is displayed is the string argument that you provide. The
overload methods allow you to select from the following
parameters:
| See list in Description column | DialogResult |
ShowMessageBox | Displays a message box and returns a result. | string | DialogResult |
ShowMessageBox (String, caption) | Displays a message box that has a message and title bar caption; and that returns a result. | String, caption | DialogResult |
ShowMessageBox (String, caption, buttons) | Displays a message box that has a message, title bar caption, and button; and that returns a result. | String, caption, buttons | DialogResult |
ShowMessageBox (String, caption, buttons, icon) | Displays a message box that has a message, title bar caption, button, and icon; and that returns a result. | String, caption, buttons, icon | DialogResult |
ShowMessageBox (String, caption, buttons, icon) | Displays a message box that has a message, title bar caption, button, and icon; and that accepts a default message box result and returns a result. | String, caption, buttons, icon | DialogResult |
ShowMessageBox (String, caption, buttons, icon, options) | Displays a message box that has a message, title bar caption, button, and icon; and that accepts a default message box result, complies with the specified options, and returns a result. | String, caption, buttons, icon, options | DialogResult |
ShowMessageBox (String, caption, buttons, icon, options, Win32 owner) | Displays a message box that has a message, title bar caption, button, and icon; and that accepts a default message box result, complies with the specified options, has a Win32 owner, and returns a result. | String, caption, buttons, icon, options, Win32 owner | DialogResult |
Previous topic AsoManager methods Next topic MessageManifest methods