Gets an existing GwxRuntimeViewControl object based on the specified target type and target name. If multiple matches are found, the first matching window is returned.

Namespace: Ico.Gwx
Assembly: GwxRuntimeViewControl (in GwxRuntimeViewControl.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public GwxRuntimeViewControl GetWindow(
	WindowTargetType targetType,
	string targetName,
	bool recursive
)
Visual Basic
Public Function GetWindow ( _
	targetType As WindowTargetType, _
	targetName As String, _
	recursive As Boolean _
) As GwxRuntimeViewControl
JScript
public function GetWindow(
	targetType : WindowTargetType, 
	targetName : String, 
	recursive : boolean
) : GwxRuntimeViewControl

Parameters

targetType
Type: Ico.Gwx..::..WindowTargetType
The type(s) of windows to search for.
targetName
Type: System..::..String
The name of the target window to get (may include wildcards). Specify null to ignore names.
recursive
Type: System..::..Boolean
True to search recursively for popups and embedded windows. When false, this method will only return popups and embedded windows that are directly owned by this window.

Return Value

A GwxRuntimeViewControl object, or null if none found.

See Also