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

Displays modal messagebox with given prompt, title and icon. Message box is modal to given owner.

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

Syntax

C#
public static DialogResult Modal_PTIW(
	string Prompt,
	string Title,
	MessageBox..::..MessageBoxIcons Icon,
	Object Owner
)
Visual Basic
Public Shared Function Modal_PTIW ( _
	Prompt As String, _
	Title As String, _
	Icon As MessageBox..::..MessageBoxIcons, _
	Owner As Object _
) As DialogResult
Visual C++
public:
static DialogResult Modal_PTIW(
	String^ Prompt, 
	String^ Title, 
	MessageBox..::..MessageBoxIcons Icon, 
	Object^ Owner
)
F#
static member Modal_PTIW : 
        Prompt:string * 
        Title:string * 
        Icon:MessageBox..::..MessageBoxIcons * 
        Owner:Object -> DialogResult 
JScript
public static function Modal_PTIW(
	Prompt : String, 
	Title : String, 
	Icon : MessageBox..::..MessageBoxIcons, 
	Owner : Object
) : DialogResult

Parameters

Prompt
Type: System..::..String
Prompt to be shown
Title
Type: System..::..String
Message box title
Icon
Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxIcons
Defines one of predefined icons to show to user. Actual image is obtained via GetIconDelegate
Owner
Type: System..::..Object
The window message box window will be modal to (can be null). Typical values are IWin32Window and Window If implementation does not recognize type of owner it ignores it.

Return Value

Indicates button clicked by user

See Also

Collapse/expand Version History

1.5.3

  • (Beta) This function is new in 1.5.3