Board index » cppbuilder » Two images on a TBitBtn.....how?
Andy Piskur
![]() CBuilder Developer |
Two images on a TBitBtn.....how?2005-09-07 04:34:01 AM cppbuilder96 Hello, I'm trying to display an additional bitmap image on a TBitBtn besides the one already there. I don't need additional up/down/disabled images on this thing, I just need another image on the opposite side of the text from the bitmap that normally shows up there. I would like to do this by creating a new component and inheriting from TBitBtn (or TButton) and not have to create a completely new component from scratch. I know how to create new TBitmaps and I also know how to draw one on a TCanvas object. The problem is getting a TCanvas object onto a TButton or TBitBtn so I can pop the bitmap in there (I know Borland had to, somehow, to make the TBitBtn in the first place). Thanks. |