Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, and default button.
[Visual Basic] Overloads Public Shared Function Show( _ ByVal owner As IWin32Window, _ ByVal text As String, _ ByVal caption As String, _ ByVal buttons As MessageBoxButtons, _ ByVal icon As MessageBoxIcon, _ ByVal defaultButton As MessageBoxDefaultButton _ ) As DialogResult [C#] public static DialogResult Show( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton ); [C++] public: static DialogResult Show( IWin32Window* owner, String* text, String* caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton );
One of the DialogResult values.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
MessageBox Class | MessageBox Members | Wimark.Controls Namespace