Hi folks,

Im developing an Activex-X ctrl with RTF as my constituent control. In this ctrl few words I want to highlight the way MS-Word 97 spellchecker highlights. Let me put it in better words. I am doing on line validation of the text as user types it in the RTF. Once I determine that its not a valid word, I want to put curly underline in red color for that word. This is identical to what MS-Word 97 does when you type a wrong spelling. I am trying to find an ideal way to do this task.

Please let me know how I can put curly underline in red color for the typed word.


Regds

Nilesh

---------


ps - Note that my development platform is NT4.0 using VB 6.0