In writing a custom control inheriting from a TBitBtn
, I'm searching for a way to override or intercept just the drawing of the glyph and draw the glyph myself, while not having to redraw the entire control. I'm widely using VCL Styles and am looking to avoid having to recreate all the drawing and style hooks etc. Unfortunately I can't find anything inside the TBitBtn
which could allow this.
How can I intercept the drawing of the TBitBtn.Glyph
and draw the glyph onto the button canvas myself while retaining all the natural styled drawing of the control?