I would assume so, since the canvas might be transparent.
Have you tried to force the window not to paint (by putting a boolean
in the windows paint event)
Perhaps you are looking for the optional eraseBackground property of
the refresh method?
Den 29/10/2008 kl. 22.49 skrev Dennis Birch:
On Wed, Oct 29, 2008 at 12:46 PM, Ask Greiffenberg
<maillist@popgun.dk> wrote:
I have no idea if this will help you, but are you aware of:
http://ramblings.aaronballman.com/2005/07/Double_Buffering.html
The last comment in the bottom have helped me a lot!! (the one
about the way
the refreshes are called, and the workaround)
I wasn't aware of it, but it doesn't help in this particular
situation, and doesn't answer my question that I can see.
I probably shouldn't have used the term "flickering" in my question as
that is not the primary issue. In tthis particular case it really all
comes down to controlling when the window is refreshed, and that seems
to be somewhat out of my control.
Let me restate the question: Is it correct behavior for a window's
paint event handler to fire because a canvas that covers the window is
refreshed?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|