Export (0) Print
Expand All
1 out of 5 rated this helpful - Rate this topic

IHTMLDocument4 interface

Provides access to additional properties and methods of the document object, which represents the HTML document in a given browser window.

Members

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

Methods

The IHTMLDocument4 interface has these methods.

MethodDescription
createDocumentFromUrl

Creates a new document object from an existing URL.

createEventObject

Generates an event object to pass event context information when you use the IHTMLDocument4::fireEvent method.

createRenderStyle

Creates an IHTMLRenderStyle interface.

fireEvent

Fires a specified event on the object.

focus

Causes the document to receive the focus.

hasFocus

Gets a value indicating whether the object currently has focus.

 

Properties

The IHTMLDocument4 interface has these properties.

PropertyDescription

media

namespaces

Gets the collection of all namespace objects associated with the document.

oncontrolselect

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

onselectionchange

Sets or gets a pointer to the event handler function associated with the HTMLDocumentEvents2::onselectionchange event.

URLUnencoded

Gets the URL for the document, stripped of any character encoding.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference
IHTMLDocument
IHTMLDocument2
IHTMLDocument3

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.