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 |
---|---|
Returns a NULL value. |
|
Gets the height of the window, excluding user interface elements, such as the window frame, toolbars, and so on. |
|
Gets the width of the window, excluding user interface elements, such as the window frame. |
|
Sets or retrieves a pointer to the event handler function associated with the oncanplaythrough event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::oncontextmenu event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondrag event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragend event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragenter event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragleave event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragover event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondrop event. |
|
Sets or retrieves a pointer to the event handler function associated with the ondurationchange event. |
|
Sets or retrieves a pointer to the event handler function associated with the onemptied event. |
|
Sets or retrieves a pointer to the event handler function associated with the onended event. |
|
Sets or retrieves a pointer to the event handler function associated with the oninput event. |
|
Sets or retrieves a pointer to the event handler function associated with the onloadeddata event. |
|
Sets or retrieves a pointer to the event handler function associated with the onloadedmetadata event. |
|
Sets or retrieves a pointer to the event handler function associated with the onloadstart event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLElementEvents3::onoffline event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLElementEvents3::ononline event. |
|
Sets or retrieves a pointer to the event handler function associated with the onpause event. |
|
Sets or retrieves a pointer to the event handler function associated with the onplaying event. |
|
Sets or retrieves a pointer to the event handler function associated with the onprogress event. |
|
Sets or retrieves a pointer to the event handler function associated with the onratechange event. |
|
Sets or retrieves a pointer to the event handler function associated with the onseeked event. |
|
Sets or retrieves a pointer to the event handler function associated with the onseeking event. |
|
Sets or retrieves a pointer to the event handler function associated with the onstalled event. |
|
Sets or retrieves a pointer to the event handler function associated with the onsuspend event. |
|
Sets or retrieves a pointer to the event handler function associated with the ontimeupdate event. |
|
Sets or retrieves a pointer to the event handler function associated with the onvolumechange event. |
|
Sets or retrieves a pointer to the event handler function associated with the onwaiting event. |
|
Gets the height of the window, including user interface elements, such as the window frame, toolbars, and so on. |
|
Gets the width of the window, including user interface elements, such as the window frame. |
|
Gets the distance, in pixels, that a document has scrolled horizontally. |
|
Gets the distance, in pixels, that a document has scrolled vertically. |
|
Provides access to timing related information regarding navigation and performance for the document that is loaded into the window object. |
|
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. |
|
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. |
|
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 |