How do i custom draw of TEdit control text?
I'd like to draw a piece of TEdit.Text using Font.Color different from the default. Are there any examples how to do that? I'm attempting to do something like this: NOTE: what this screenshot pictures is merely a hairy draft, but it convinces me what problem solvable. Edit controls do not have owner-draw support, but you can custom-draw it by sub-classing it and handling WM_PAINT (among many other messages). It's doable, but it would be a world of pain to actually implement 100% correctly. From the docs: Developing Custom Draw Controls in Visual C++ : Note that owner-draw will work for most