BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TDrawGrid + Background Image

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Shane Stump
Guest





PostPosted: Thu Jun 24, 2004 3:33 pm    Post subject: TDrawGrid + Background Image Reply with quote



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





PostPosted: Thu Jun 24, 2004 5:24 pm    Post subject: Re: TDrawGrid + Background Image Reply with quote




"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





PostPosted: Thu Jun 24, 2004 5:29 pm    Post subject: Re: TDrawGrid + Background Image Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.