Mat,
The RTF control has a bunch of Sel* properties like SelUnderline, SelBold, etc that can be used to read or the set corresponded attributes of selected text.
>I'd like be able to double-click on a given word in an ActiveX RTF control and take some action against it. I'm thinking that these "actionable" words will be underlined - similar to a hyperlink.
>
>I think I can get the contents of the clicked-on word easily enough, but can't figure out how I can tell what the formatting codes are for the word. (If it's not underlined, I don't want to take any action against it.)
>
>Anyone done this before? Ideas?
--sb--