And what makes you think that doing your own drawing is going to work? Edit controls paint
themselves whenever they feel like it, and doing your own drawing risks the fact that
mechanisms entirely outside your control are free to overwrite whatever you do.
I'd be inclined to paint on a transparent window which is on top of the edit control, or
something similar. Since I don't ever have a desire to draw on edit controls, I've never
experimented with this, but I believe you are in for some serious frustrations.
joe
Joseph M. Newcomer [MVP]
email: XXXX@XXXXX.COM
Web:
http://www.flounder.com
MVP Tips:
http://www.flounder.com/mvp_tips.htm