IHTMLElement3 interface

Provides access to the properties and methods that are common to all element objects.

Members

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

  • Methods
  • Properties

Methods

The IHTMLElement3 interface has these methods.

Method Description
dragDrop

Initiates a drag event.

fireEvent

Fires a specified event on the object.

mergeAttributes

Copies attributes to the specified element.

setActive

Sets the object as active without setting focus to the object.

 

Properties

The IHTMLElement3 interface has these properties.

Property Description

canHaveHTML

Retrieves the value indicating whether the object can contain rich HTML markup.

contentEditable

Sets or retrieves the string that indicates whether the user can edit the content of the object.

disabled

Sets or gets the value that indicates whether the user can interact with the object.

hideFocus

Sets or gets the value that indicates whether the object visibly shows that it has focus.

inflateBlock

Sets or gets whether to render an empty object as though it contains text.

isContentEditable

Gets the value that indicates whether the user can edit the contents of the object.

isDisabled

Gets the value that indicates whether the user can interact with the object.

isMultiLine

Retrieves the value indicating whether the content of the object contains one or more lines.

oncontrolselect

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

onlayoutcomplete

Sets or gets a pointer to the event handler function that fires when the print or print preview layout process finishes filling the object with content from the source document.

onmouseenter

Sets or gets a pointer to the event handler function that fires when the user moves the mouse pointer into the object.

onmouseleave

Sets or gets a pointer to the event handler function that fires when the user moves the mouse pointer outside the boundaries of the object.

onmoveend

onmovestart

onpage

onresizeend

Sets or gets a pointer to the event handler function that fires when the user has finished changing the dimensions of the object.

onresizestart

Sets or gets a pointer to the event handler function that fires when the user begins to change the dimensions of the object.

 

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

IHTMLElement

IHTMLElement2