| View previous topic :: View next topic |
| Author |
Message |
Sabetay Toros Guest
|
Posted: Tue Jul 19, 2005 12:44 pm Post subject: WM_ERASEBKGND problem |
|
|
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
|
Posted: Tue Jul 19, 2005 1:50 pm Post subject: Re: WM_ERASEBKGND problem |
|
|
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
|
Posted: Tue Jul 19, 2005 4:17 pm Post subject: Re: WM_ERASEBKGND problem |
|
|
"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
|
Posted: Wed Jul 20, 2005 7:11 am Post subject: Re: WM_ERASEBKGND problem |
|
|
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 |
|
 |
|