FrameWindow Property

Microsoft FrontPage Visual Basic

FrameWindow Property

Returns an FPHTMLWindow2 object that represents the page window and accesses the Internet Explorer Window objects.

Note  The Document property of the FPHTMLWindow2 object points to the FPHTMLDocument object of the frames page.

expression.FrameWindow

expression    Required. An expression that returns a PageWindowEx object.

Example

This example retrieves the IHTMLLocation property of the FrameWindow object.

    Private Sub GetFrameWindowLocation()
    Dim myWeb As WebEx
    Dim myPage As PageWindowEx
    Dim myFrameWindowLocation As String

    Set myWeb = Webs("C:\My Webs\Coho Winery")
    Set myPage = _
                myWeb.ActiveWebWindow.ActivePageWindow
    myFrameWindowLocation = myPage.FrameWindow.Location.href
End Sub