Finds the child Window object by a class name and/or by a window title.
wndChild = wnd.FindWindow( strClass, strCaption );
wndChild = wnd.FindWindow( strClass, strCaption )
strClass
Specifies the window's class name. If this parameter is empty, all class names match.
strCaption
Specifies the window name (title). If this parameter is empty, all window names match.
wnd = FindWindow( "EmEditorView", "" );
alert( wnd.Caption );
wnd = FindWindow( "EmEditorView", "" )
alert wnd.Caption
Supported on EmEditor Professional Version 7.00 or later.
Send feedback on this topic to Emurasoft