AVEVA CAF API Documenation

Aveva.ApplicationFramework.Presentation Namespace > MessageBoxEx Class > Show Method : Show(String,String,MessageBoxExButtons,MessageBoxIcon,MessageBoxDefaultButton,Boolean) Method
The text to display in the message box.
The text to display in the title bar of the message box.
One of the MessageBoxExButtons values that specifies which buttons to display in the message box.
One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box.
One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box.
(Optional) Output to IMessageEx.
Show(String,String,MessageBoxExButtons,MessageBoxIcon,MessageBoxDefaultButton,Boolean) Method

Displays a message box with the specified text, caption, buttons, icon, and default button.

Syntax

Parameters

text
The text to display in the message box.
caption
The text to display in the title bar of the message box.
buttons
One of the MessageBoxExButtons values that specifies which buttons to display in the message box.
icon
One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box.
defaultButton
One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box.
logOutput
(Optional) Output to IMessageEx.

Return Value

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also