FindWindow 方法 (Window 对象)
通过类名和/或一个窗口标题查找子 Window 对象。
[JavaScript]
wndChild = wnd.FindWindow( strClass, strCaption );[VBScript]
wndChild = wnd.FindWindow( strClass, strCaption )参数
strClass
指定窗口的类名。如果此参数为空,所有类名相匹配。
strCaption
指定窗口名称(标题)。如果此参数为空,所有窗口名称相匹配。
示例
[JavaScript]
wnd = FindWindow( "EmEditorView", "" );
alert( wnd.Caption );[VBScript]
wnd = FindWindow( "EmEditorView", "" )
alert wnd.Caption版本
支持 EmEditor 7.00 或之后的版本。