Click to return to the Reusing Browser Technology home page    
IHTMLCommentElement::get_...     IHTMLControlElement::addF...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLControlElement Interface


This interface is a base interface for control type elements such as IHTMLImgElement.

IHTMLControlElement Methods

addFilter Adds the specified filter to the list of filters influencing this element.
focus Causes a control to receive the focus and executes the code specified by the onfocus event.
get_accessKey Retrieves the value of the accessKey property of the element.
get_clientHeight Retrieves the height of the element, in pixels. This height does not take into account any margin, border, scroll bar, or padding that might have been applied to the element.
get_clientLeft Retrieves the left coordinates of the client area inside this element's borders.
get_clientTop Retrieves the top coordinates of the client area inside this element's borders.
get_clientWidth Retrieves the width of the element, in pixels. This width does not take into account any margin, border, scroll bar, or padding that might have been applied to the element.
get_onblur Retrieves a pointer to the event handler function associated with the onblur event on the control element.
get_onfocus Retrieves a pointer to the event handler function associated with the onfocus event on the control element.
get_onresize Retrieves a pointer to the event handler function associated with the onresize event on the control element.
get_tabIndex Retrieves the tab index for the object.
put_accessKey Sets the value of the accessKey property of the element.
put_onblur Sets a pointer to the event handler function associated with the onblur event on the control element.
put_onfocus Sets a pointer to the event handler function associated with the onfocus event on the control element.
put_onresize Sets a pointer to the event handler function associated with the onresize event on the control element.
removeFilter Removes the specified filter from the list of filters influencing this element.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 5
Minimum operating systems Windows 95, Windows NT 4.0

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.