共用方式為


IHTMLWindow4 interface

This interface provides access to an additional property and method of the window object, which represents an open window in the browser.

Members

The IHTMLWindow4 interface inherits from the IDispatch interface. IHTMLWindow4 also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLWindow4 interface has these methods.

Method Description
createPopup
Note   IHTMLWindow4::createPopup is no longer supported. Starting with IE11, use a div, iframe, or other element with a relatively high IHTMLRuleStyle::zIndex value. For info, see Compatibility changes.
 

Creates an IHTMLPopup window object.

 

Properties

The IHTMLWindow4 interface has these properties.

Property Description

frameElement

Retrieves the frame or iframe object that is hosting the window in the parent document.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Reference

IHTMLWindow2

IHTMLWindow3

IHTMLWindow5