Selecting text in an MSHTML component

B

Blake

Hello,

I am using an MSHTML component to allows for HTML editing in my
application. I am trying to integrate this component with a spell
checker component that I am using, and I would like to be able to
highlight the misspelled word in the MSHTML component as I go along
doing the spell check.

Is there any way to programmatically change the text selection in the
MSHTML component? I would like to be able to set the selection start
and length just like you can do for a RichTextBox.

Thanks for your help,

Blake
 
T

Tim Anderson

Is there any way to programmatically change the text selection in the
MSHTML component? I would like to be able to set the selection start
and length just like you can do for a RichTextBox.

James Hancock was working on this for the HtmlEditor (I don't know if that
is the one you are using).

See the discussion forum; try searching for Selection.
http://itwriting.com/phorum/list.php?f=3

Tim
How much memory does my .NET app use?
http://www.itwriting.com/dotnetmem.php
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top