ieWindow - web automation property

Not available in Open Twebst edition!
Returns the Win32 handle for Internet Explorer_Server window of the Internet Explorer instance represented by the current Browser object.

Applies to:
  var hwnd = browserObj.ieWnd;
The Internet Explorer_Server window exists only if the browser displays an HTML document. The property is searching for window handle in the amount of time specified by loadTimeout property. If load timeout has expired and it was not possible to get a vadlid window handle, then lastError property is set to FAIL_ERROR and an IE automation exception is thrown. In case of an error the method throws a script exception and the lastError property of the core object is set as follows:
var coreObj    = new ActiveXObject("Twebst.Core");
var newBrowser = coreObj.StartBrowser("");
See also:
Browser | foregroundBrowser | processId | tabWindow | threadId | topWindow

© 2014 CodeCentrix Software. All rights reserved.