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
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 |
|---|---|
|
Sets or retrieves the access key for the object. | |
|
Retrieves the height of the object including padding, but not including margin, border, or scroll bar. | |
|
Retrieves the distance between the IHTMLElement::offsetLeft property and the true left side of the client area. | |
|
Retrieves the distance between the IHTMLElement::offsetTop property and the true top of the client area. | |
|
Retrieves the width of the object including padding, but not including margin, border, or scroll bar. | |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onblur event. | |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onfocus event. | |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onresize event. | |
|
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 |
|
|
IDL |
|
|
DLL |
|
See also