tabWindow - web automation property

Not available in LITE Edition!
Returns the Win32 handle for TabWindowClass window of the Internet Explorer instance represented by the current Browser web automation object.

Applies to:
Browser
  var hwnd = browserObj.tabWindow;
Arguments:
None.
Remarks:
This property is available only for Internet Explorer 7 or higher.
In case of an error the method throws a web automation exception and the lastError property of the core object is set as follows:
Example:
var coreObj    = new ActiveXObject("Twebst.Core");
var newBrowser = coreObj.StartBrowser("http://www.codecentrix.com/");
WScript.Echo(newBrowser.tabWindow);
		
See also:
activeTab | Browser | foregroundBrowser | ieWindow | isTabActive | processId | threadId | topWindow

© 2011 CodeCentrix Software. All rights reserved.