Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

About Selection

This topic describes selecting objects using the Accessibility API.

You can determine whether the accessible object is selected by comparing its text range to that of the range returned by the createTextRange method of the selection object of the document object (document.selection.createTextRange). If these ranges intersect, the accessible object is said to be selected. If the element is not selected, VT_EMPTY is returned. If any children are selected, an enumeration of the pointers to the IDispatch Interface interfaces of each child ID is returned. If none of these apply, CHILDID_SELF is returned.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.