TCustomEdit with custom graphic, how?
Thanks, I will give that a shot!
Best,
Dustin, dmcca...@dam-ent.com
Quote
> "Dustin McCartney" <dmcca...@REMOVEdam-ent.com> wrote in message
> news:3d5215d0$1_2@dnews...
> > How do I add custom graphics to my control now? The
> > Paint() method is never called in the TCustomEdit class
> There is no Paint() method in TCustomEdit. Paint() is only in
> TCustomControl-based classes, which TCustomEdit is not.
> What you could do, though, is use a MESSAGE_MAP, or override the inherited
> WndProc() method, to intercept the WM_PAINT or M_CTLCOLOREDIT message
> directly.
> > nor does it contain a TCanvas.
> You can use a TControlCanvas for that.
> Gambit