realbasic-nug
[Top] [All Lists]

Re: Should Paint event be passed up hierarchy?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Should Paint event be passed up hierarchy?
From: Ask Greiffenberg <maillist@popgun.dk>
Date: Wed, 29 Oct 2008 20:46:14 +0100
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <fed2e2560810291112m397b7708tfbf83e42ae0f9bc1@mail.gmail.com>
References: <fed2e2560810291112m397b7708tfbf83e42ae0f9bc1@mail.gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
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)



Den 29/10/2008 kl. 19.12 skrev Dennis Birch:

I think that's what's happening. I'm trying to reduce the flashing in
a somewhat complex window by cutting out unnecessary refresh
statements. Its frontmost layer is a canvas that displays content from
a PDF file, generated with calls to MBS plugin functions. When there
is a change in the content (such as a page change), it refreshes
itself (with a call to "me.refresh"), which triggers its Paint event
handler. But it seems to pass the event up to the window as it also
triggers the window's Paint event handler. That seems like a bug to
me. Am I misunderstanding how this is supposed to work?

_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>