HWND Property
Gets the handle of the Windows Internet Explorer main window.
Syntax
[ nHWND = ] InternetExplorer.HWND
Possible Values
nHWND Long that receives the window handle. The property is read-only. The property has no default value.
Remarks
Internet Explorer 7. With the introduction of tabbed browsing, the return value of this method can be ambiguous. To alleviate confusion and maintain the highest level of compatibility with existing applications, this method returns a handle to the top-level window frame, not the currently selected tab.
Applies To