Jaa


IHTMLWindow7 interface

Provides properties that describe the window displaying a webpage. This interface extends the IHTMLWindow6 interface.

Members

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

  • Methods
  • Properties

Methods

The IHTMLWindow7 interface has these methods.

Method Description
getComputedStyle

Returns a currentStyle object containing the CSS settings that are applied to the specified element or a pseudo-element related to the specified element.

getSelection

Returns an object that represents the current selection of the document.

 

Properties

The IHTMLWindow7 interface has these properties.

Property Description

ActiveXObject

Returns a NULL value.

innerHeight

Gets the height of the window, excluding user interface elements, such as the window frame, toolbars, and so on.

innerWidth

Gets the width of the window, excluding user interface elements, such as the window frame.

oncanplaythrough

Sets or retrieves a pointer to the event handler function associated with the oncanplaythrough event.

oncontextmenu

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::oncontextmenu event.

ondrag

Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondrag event.

ondragend

Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragend event.

ondragenter

Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragenter event.

ondragleave

Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragleave event.

ondragover

Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragover event.

ondrop

Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondrop event.

ondurationchange

Sets or retrieves a pointer to the event handler function associated with the ondurationchange event.

onemptied

Sets or retrieves a pointer to the event handler function associated with the onemptied event.

onended

Sets or retrieves a pointer to the event handler function associated with the onended event.

oninput

Sets or retrieves a pointer to the event handler function associated with the oninput event.

onloadeddata

Sets or retrieves a pointer to the event handler function associated with the onloadeddata event.

onloadedmetadata

Sets or retrieves a pointer to the event handler function associated with the onloadedmetadata event.

onloadstart

Sets or retrieves a pointer to the event handler function associated with the onloadstart event.

onoffline

Sets or retrieves a pointer to the event handler function associated with the HTMLElementEvents3::onoffline event.

ononline

Sets or retrieves a pointer to the event handler function associated with the HTMLElementEvents3::ononline event.

onpause

Sets or retrieves a pointer to the event handler function associated with the onpause event.

onplaying

Sets or retrieves a pointer to the event handler function associated with the onplaying event.

onprogress

Sets or retrieves a pointer to the event handler function associated with the onprogress event.

onratechange

Sets or retrieves a pointer to the event handler function associated with the onratechange event.

onseeked

Sets or retrieves a pointer to the event handler function associated with the onseeked event.

onseeking

Sets or retrieves a pointer to the event handler function associated with the onseeking event.

onstalled

Sets or retrieves a pointer to the event handler function associated with the onstalled event.

onsuspend

Sets or retrieves a pointer to the event handler function associated with the onsuspend event.

ontimeupdate

Sets or retrieves a pointer to the event handler function associated with the ontimeupdate event.

onvolumechange

Sets or retrieves a pointer to the event handler function associated with the onvolumechange event.

onwaiting

Sets or retrieves a pointer to the event handler function associated with the onwaiting event.

outerHeight

Gets the height of the window, including user interface elements, such as the window frame, toolbars, and so on.

outerWidth

Gets the width of the window, including user interface elements, such as the window frame.

pageXOffset

Gets the distance, in pixels, that a document has scrolled horizontally.

pageYOffset

Gets the distance, in pixels, that a document has scrolled vertically.

performance

Provides access to timing related information regarding navigation and performance for the document that is loaded into the window object.

screenX

Sets or retrieves the x-coordinate of the mouse pointer's position relative to the user's screen. For the standards based property, see IDOMMouseEvent::screenX.

screenY

Sets or retrieves the y-coordinate of the mouse pointer's position relative to the user's screen. For the standards based property, see IDOMMouseEvent::screenY.

styleMedia

Gets a StyleMedia object that contains methods and properties. These methods and properties determine the media types that are supported by the object that displays the document object.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch