Click to return to the Reusing Browser Technology home page    
IHTMLControlElement::remo...     IHTMLControlRange::add Me...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLControlRange Interface


This interface contains a range of control type elements. It is used for control selection and represents an array of controls that can be operated on as a group.

IHTMLControlRange Methods

add Adds an element to the collection.
commonParentElement Retrieves the interface to the first parent element that contains all the controls that are currently stored in this range and within its scope.
execCommand Executes the given command over the current selection or text range.
execCommandShowHelp Displays help information for the given command identifier.
get_length Retrieves the number of elements in the collection.
item Retrieves an element or a collection from the given collection.
queryCommandEnabled Determines whether the given command is currently available.
queryCommandIndeterm Determines whether the given command is in the indeterminate state.
queryCommandState Retrieves the current status of the given command. The status indicates whether the command has been carried out on the object.
queryCommandSupported Determines whether the given command is supported.
queryCommandText Retrieves the string associated with the given command.
queryCommandValue Retrieves the current value of the given command.
remove Removes an element from the collection.
scrollIntoView Scrolls the object into view, aligning it at either the top or bottom of the window.
select Highlights the input area of a form element.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 4.0
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.