IHTMLControlElement interface

Provides a base interface for control type elements, such as IHTMLImgElement.

Members

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

  • Methods
  • Properties

Methods

The IHTMLControlElement interface has these methods.

Method Description
blur

Causes the element to lose focus and fires the HTMLFrameSiteEvents::onblur event.

focus

Causes the element to receive the focus and executes the code specified by the HTMLFrameSiteEvents::onfocus event.

 

Properties

The IHTMLControlElement interface has these properties.

Property Description

accessKey

Sets or retrieves the access key for the object.

clientHeight

Retrieves the height of the object including padding, but not including margin, border, or scroll bar.

clientLeft

Retrieves the distance between the IHTMLElement::offsetLeft property and the true left side of the client area.

clientTop

Retrieves the distance between the IHTMLElement::offsetTop property and the true top of the client area.

clientWidth

Retrieves the width of the object including padding, but not including margin, border, or scroll bar.

onblur

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

onfocus

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

onresize

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

tabIndex

Sets or retrieves the index that defines the tab order for 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