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 

WM_ERASEBKGND problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
Sabetay Toros
Guest





PostPosted: Tue Jul 19, 2005 12:44 pm    Post subject: WM_ERASEBKGND problem Reply with quote



Hi,

I'm sending a WM_ERASEBKGND message like the following but does not
erase the background. What am I doing wrong. Any ideas ? Is there any
other way to erase the background?

Thanks

Sabetay

Perform(WM_ERASEBKGND , (long) Canvas->Handle, NULL);

Back to top
Sabetay Toros
Guest





PostPosted: Tue Jul 19, 2005 1:50 pm    Post subject: Re: WM_ERASEBKGND problem Reply with quote



Sabetay Toros wrote:
Quote:
Hi,

I'm sending a WM_ERASEBKGND message like the following but does not
erase the background. What am I doing wrong. Any ideas ? Is there any
other way to erase the background?

Thanks

Sabetay

Perform(WM_ERASEBKGND , (long) Canvas->Handle, NULL);

The problem is not with WM_ERASEBKGND. Actually it is erasing the

background. The problem was with the components Paint function. Even if
the Visible property is false it is painting. I'was thinking that if
the Visible property is false will not call the Paint function.

Thanks

Sabetay

Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Jul 19, 2005 4:17 pm    Post subject: Re: WM_ERASEBKGND problem Reply with quote




"Sabetay Toros" <bilsarbiz (AT) ttnet (DOT) net.tr> wrote


Quote:
I'm sending a WM_ERASEBKGND message

Why? What exactly are you trying to accomplish in the first place?


Gambit



Back to top
Sabetay Toros
Guest





PostPosted: Wed Jul 20, 2005 7:11 am    Post subject: Re: WM_ERASEBKGND problem Reply with quote

Remy Lebeau (TeamB) wrote:
Quote:
"Sabetay Toros" <bilsarbiz (AT) ttnet (DOT) net.tr> wrote in message
news:42dcf5b1$1 (AT) newsgroups (DOT) borland.com...


I'm sending a WM_ERASEBKGND message


Why? What exactly are you trying to accomplish in the first place?


Gambit


Remy,


I want to clear the background in order to draw something.

Thanks

Sabetay

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) 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.