realbasic-nug
[Top] [All Lists]

Should Paint event be passed up hierarchy?

To: RBNUG <realbasic-nug@lists.realsoftware.com>
Subject: Should Paint event be passed up hierarchy?
From: "Dennis Birch" <dennisbirch@gmail.com>
Date: Wed, 29 Oct 2008 11:12:03 -0700
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; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=WPv9kCI8sn5g3AhQYgcb49cyfEpPYXR2qgnUuL4Xzzc=; b=Ho84cMwhCnY1RgvtKdAVuzk6TQDrucXfmU1rDFFOl/6EckY1vMn5VrAZtyOeJEP3Qx dXJRG4+edioyaVgrzdR7ZhsWGnYlL4ZJ/D4csXS3yasDaH73YI6ahfmocJe7IQyGuiG6 gADx9ygdJisQXC3oxXNxuQr8Gpwc0B6DYH9KE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=vvN1K2qkgsDsWdwWeo3hhwizhDMtwWKFT6sQYHugpYrigPATg/yyZuHMpRfvQ29ldq 8idC01CBfKwlSlEsW1voIFQGYTKs0MgPxQ39zaMoRTkvsuhmQ5Gvd17Jobc0LFoSCGoA BJ8CpgA1mmcJ7TK21jHu9iwNOqFf0bo/xX8wY=
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
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>


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