Wimark.Controls Class Library  

MessageBox.Show(IWin32Window, String) Method

Displays a message box in front of the specified object and with the specified text.

[Visual Basic]
Overloads Public Shared Function Show( _
   ByVal owner As IWin32Window, _
   ByVal text As String _
) As DialogResult 
[C#]
public static DialogResult Show( 
   IWin32Window owner, 
   string text 
);
[C++]
public: static DialogResult Show( 
   IWin32Window* owner, 
   String* text 
);

Parameters

owner
The IWin32Window the message box will display in front of.
text
The text to display in the message box.

Return Value

One of the DialogResult values.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

MessageBox Class | MessageBox Members | Wimark.Controls Namespace