Contents Index Topic Contents | ||
Previous Topic: IHTMLUnknownElement Next Topic: IHTMLWindow2::alert |
IHTMLWindow2
This interface provides access to the window object which represents an open window in the browser. You use the window object to retrieve information about the state of the window and to gain access to the document in the window, to the events that occur in the window, and to features of the browser that affect the window.
Typically, the browser creates one window object when it opens an HTML document. However, if a document defines one or more frames (that is, contains one or more FRAME or IFRAME tags), the browser creates one window object for the original document and one additional window object for each frame. These additional objects are child windows of the original window and can be affected by actions that occur in the original. For example, closing the original window causes all child windows to close. You can also create new windows (and corresponding window objects) by using methods such as open and showModalDialog.
IHTMLWindow2 Methods
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.