[This is preliminary documentation and is subject to change.]

Displays a formatted message in a dialog box modal to given object, waits for the user to click a button, and then returns an integer indicating which button the user clicked.

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public static MsgBoxResult MsgBoxFW(
	string prompt,
	MsgBoxStyle buttons,
	string title,
	Object owner,
	params Object[] args
)
Visual Basic
Public Shared Function MsgBoxFW ( _
	prompt As String, _
	buttons As MsgBoxStyle, _
	title As String, _
	owner As Object, _
	ParamArray args As Object() _
) As MsgBoxResult
Visual C++
public:
static MsgBoxResult MsgBoxFW(
	String^ prompt, 
	MsgBoxStyle buttons, 
	String^ title, 
	Object^ owner, 
	... array<Object^>^ args
)
F#
static member MsgBoxFW : 
        prompt:string * 
        buttons:MsgBoxStyle * 
        title:string * 
        owner:Object * 
        args:Object[] -> MsgBoxResult 
JScript
public static function MsgBoxFW(
	prompt : String, 
	buttons : MsgBoxStyle, 
	title : String, 
	owner : Object, 
	... args : Object[]
) : MsgBoxResult

Parameters

prompt
Type: System..::..String

[Missing <param name="prompt"/> documentation for "M:Tools.WindowsT.IndependentT.MessageBox.MsgBoxFW(System.String,Microsoft.VisualBasic.MsgBoxStyle,System.String,System.Object,System.Object[])"]

buttons
Type: Microsoft.VisualBasic..::..MsgBoxStyle

[Missing <param name="buttons"/> documentation for "M:Tools.WindowsT.IndependentT.MessageBox.MsgBoxFW(System.String,Microsoft.VisualBasic.MsgBoxStyle,System.String,System.Object,System.Object[])"]

title
Type: System..::..String

[Missing <param name="title"/> documentation for "M:Tools.WindowsT.IndependentT.MessageBox.MsgBoxFW(System.String,Microsoft.VisualBasic.MsgBoxStyle,System.String,System.Object,System.Object[])"]

owner
Type: System..::..Object

[Missing <param name="owner"/> documentation for "M:Tools.WindowsT.IndependentT.MessageBox.MsgBoxFW(System.String,Microsoft.VisualBasic.MsgBoxStyle,System.String,System.Object,System.Object[])"]

args
Type: array<System..::..Object>[]()[][]
Formatting arguments passed to String along with prompt to form message

Return Value

The result of message box indicatin pressed button.

Remarks

This function mimisc and extends behaviour of the MsgBox(Object, MsgBoxStyle, Object) function

Exceptions

ExceptionCondition
System.Reflection..::..TargetInvocationExceptionThere was an error working working with customized static properties such as DefaultImplementation or message box implementation failed.

See Also

Collapse/expand Version History

1.5.3

  • (Beta) This function is new in version 1.5.3