This is the discussion forum for the HtmlEditor. See also the
HtmlEditor home page, where you can download the control, and the
Documentation Wiki, a collaborative project for documenting the control.
IHTMLDocument2 activeElement
Posted by:
Norton (81.195.28.---)
Date: Monday, 02-Aug-2004, 18:18:08
Hello all,
Have one question.
How can i change the IHTMLDocument2.activeElement and IHTMLDocument2.selection type?
When user set cursor in Editor, i already have IHTMLTxtRange. If text in current position in TD of TABLE, i can show to user Structure of Document (TABLE->TR->TD->text) in another window helper, and user can change current element of document structure by clicking one of this example(TABLE->TR->TD->text) element.
After user select element, i whant to select this element in Editor (Show visual border arround Table and etc.) and change activeElement (change IHTMLDocument2.selection type).
How can i do this?
Please help.