| View previous topic :: View next topic |
| Author |
Message |
Shane Stump Guest
|
Posted: Thu Jun 24, 2004 3:33 pm Post subject: TDrawGrid + Background Image |
|
|
I am trying to implement an owner draw grid with a background image.
I have overwritten the TDrawGrid's WM_ERASEBKGND message and I paint my
bitmap but the grid still draws its cells with a solid WHITE brush.
I am obviously going about this WRONG.
Any ideas or components that will let me draw my own X by Y grid area with
an image background?
Thanks in advance,
Shane
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu Jun 24, 2004 5:24 pm Post subject: Re: TDrawGrid + Background Image |
|
|
"Shane Stump" <ShaneStumpNoSpam (AT) StumpWare (DOT) com> wrote
| Quote: | I have overwritten the TDrawGrid's WM_ERASEBKGND
message and I paint my bitmap but the grid still draws its cells
with a solid WHITE brush.
|
Did you set the DefaultDrawing property to false?
Gambit
|
|
| Back to top |
|
 |
Shane Stump Guest
|
Posted: Thu Jun 24, 2004 5:29 pm Post subject: Re: TDrawGrid + Background Image |
|
|
What do you think <BG>!
Thanks for stating the OBVIOUS and I will give it a shot.
Regards,
Shane
"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote
| Quote: |
"Shane Stump" <ShaneStumpNoSpam (AT) StumpWare (DOT) com> wrote in message
news:40daf453 (AT) newsgroups (DOT) borland.com...
I have overwritten the TDrawGrid's WM_ERASEBKGND
message and I paint my bitmap but the grid still draws its cells
with a solid WHITE brush.
Did you set the DefaultDrawing property to false?
Gambit
|
|
|
| Back to top |
|
 |
|