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

Searches for immediate child of current window with given parameters

Namespace: Tools.WindowsT.NativeT
Assembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public Win32Window FindChild(
	string text,
	string className
)
Visual Basic
Public Function FindChild ( _
	text As String, _
	className As String _
) As Win32Window
Visual C++
public:
Win32Window^ FindChild(
	String^ text, 
	String^ className
)
F#
member FindChild : 
        text:string * 
        className:string -> Win32Window 
JScript
public function FindChild(
	text : String, 
	className : String
) : Win32Window

Parameters

text
Type: System..::..String
Text of window to search for. Ignored when null. Can contain wildcards characters - see LikeString(String, String, CompareMethod).
className
Type: System..::..String
Name of class of window to search for. Ignored when null.

Return Value

First immediate child of current window with given characteristics. Null when no such child can be found.

Remarks

When both - text and className are null, first child of current window is returned.

See Also

Collapse/expand Version History

1.5.3

  • This function is new in version 1.5.3