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 

Painting the form

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





PostPosted: Thu Feb 26, 2004 9:34 pm    Post subject: Painting the form Reply with quote



Hi,

Wyh should I have to send WM_ERASEBKGND message before the window is going
to be repainted. As far as I understand the Invalidate Method must
provide this functionality.

Thanks


Back to top
OBones
Guest





PostPosted: Fri Feb 27, 2004 2:08 am    Post subject: Re: Painting the form Reply with quote



Sabetay Toros wrote:

Quote:
Hi,

Wyh should I have to send WM_ERASEBKGND message before the window is going
to be repainted. As far as I understand the Invalidate Method must
provide this functionality.

No it doesn't, if I'm not mistaken. All it says is that the window needs
repainting, but never erases what's on it. If you want to erase the
background you have to do it yourself, but that would create a
flickering effect.


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Fri Feb 27, 2004 7:47 am    Post subject: Re: Painting the form Reply with quote




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


Quote:
Wyh should I have to send WM_ERASEBKGND message
before the window is going to be repainted.

You never need to send WM_ERASEBKGND yourself. The OS does that
automatically during a repaint.


Gambit



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