In Microsoft Internet Explorer, the window object is the root of the object hierarchy. In Microsoft FrontPage, the Application object is the root of the object hierarchy and the WebWindow object is an object in the third tier of the object hierarchy belonging to the collection of WebWindows (second tier). The Document property is accessed via the PageWindow object (belonging to the collection of PageWindows), whose parent is the WebWindow object. The object hierarchy for the WebWindows collection is shown in the following diagram.
What is a WebWindow object?
A WebWindow object is the window container for the web. When you open a web in FrontPage, you see the web in its "web" window. FrontPage opens a new window for each web you open.
What is a PageWindow object?
A PageWindow object is the container for the web page. When you open a page in a web window, that page is contained in a page window (visible in the right pane). FrontPage opens a new page window for each page you open; however each PageWindow object is contained within the WebWindow object for the individual web. Each page that you've opened is visible on the Windows menu in FrontPage.
Where does the Document object fit in?
The Document object contains the HTML elements for a page. The elements for the document are available using an expression such as ActivePageWindow.Document.element
where element
is one of the HTML elements available in FrontPage.