Gets a collection of existing GwxRuntimeViewControl objects based on the specified target type and target name. Typically, this method is used to retrieve a list of open popup windows (using targetType = AllPopupTypes).

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

Syntax

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

Parameters

targetType
Type: Ico.Gwx..::..WindowTargetType
The type(s) of windows to get.
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

An array of windows (as GwxRuntimeViewControl objects).

See Also