[This is preliminary documentation and is subject to change.]
Displays an "OK" message box with the specified text and caption.
| C# | Visual Basic | Visual C++ |
DialogResult DisplaySimpleMessageBox( Form source, string text, string caption )
Function DisplaySimpleMessageBox ( _ source As Form, _ text As String, _ caption As String _ ) As DialogResult
DialogResult DisplaySimpleMessageBox( Form^ source, String^ text, String^ caption )
- source (Form)
- The source form of the message.
- text (String)
- The text to display in the message box.
- caption (String)
- The text to display in the title bar of the message box.
One of the DialogResult values.