返回 FPHTMLWindow2 对象。FPHTMLWindow2 对象的 Document 属性指向框架网页的 DispFPHTMLDocument 对象。
expression.FrameWindow
expression 必选。返回 PageWindowEx 对象的表达式。
本示例获得 FrameWindow 对象的 IHTMLLocation属性。
Private Sub GetFrameWindowLocation()
Dim myWeb As WebEx
Dim myPage As PageWindowEx
Dim myFrameWindowLocation As String
Set myWeb = Webs("C:\My Webs\Rogue Cellars")
Set myPage = _
myWeb.ActiveWebWindow.ActivePageWindow
myFrameWindowLocation = myPage.FrameWindow.Location.href
End Sub