ActiveFrameWindow Property Example

This example retrieves the ActiveFrameWindow object.

Private Sub GetActiveFrame()
Dim myPageWindow As PageWindow
Dim myFrame As FPHTMLWindow2

Set myPageWindow = _
    ActiveWeb.ActiveWebWindow.ActivePageWindow
Set myFrame = myPageWindow.ActiveFrameWindow
End Sub