| View previous topic :: View next topic |
| Author |
Message |
Sabetay Toros Guest
|
Posted: Thu Feb 26, 2004 9:34 pm Post subject: Painting the form |
|
|
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
|
Posted: Fri Feb 27, 2004 2:08 am Post subject: Re: Painting the form |
|
|
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
|
Posted: Fri Feb 27, 2004 7:47 am Post subject: Re: Painting the form |
|
|
"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 |
|
 |
|