FPHTMLWindow2 Object


Represents the window in which an HTML document or a frame within an HTML document is displayed. See also the IHTMLWindow2 object.
Using the FPHTMLWindow2 object
Use the parentWindow property of the FPHTMLDocument object to return an FPHTMLWindow2 object. The following example accesses the window in which the active document is displayed.
Dim objWindow As FPHTMLWindow2
Set objWindow = ActiveDocument.parentWindow