Link to home
Start Free TrialLog in
Avatar of PeteD
PeteD

asked on

Change underline colour in Rich Text Box

Is there anyway to change underline colour in a RichTextBox, like Word does when the the AutoSpellcheck is on????
ASKER CERTIFIED SOLUTION
Avatar of ScottNero
ScottNero

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JanusFury
JanusFury

I believe that's because the GDI font system doesn't allow for special-colored underlines. Word does this manually.
It's not too hard to draw a colored underline yourself, however I don't know how hard it would be to do so in a richtextbox (Probably would require a LOT of subclassing).
Avatar of PeteD

ASKER

gotta end this....... thanks anyway