realbasic-plugins
[Top] [All Lists]

Re: What does REALbasic DrawPicture do

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: What does REALbasic DrawPicture do
From: Björn Eiríksson <bjorn at einhugur dot com>
Date: Sun, 7 May 2006 15:57:13 +0000
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <FA7809D6-DB10-4C06-8473-D5EB070E2C6A at einhugur dot com> <7C7346CB-A60E-4DDA-8577-C80D169B3733 at mac dot com>

On 7.5.2006, at 14:36, Alfred Van Hoek wrote:

Don't know exactly what you mean by "lock up other canvases" but have you tried to call it in the window.resize event, instead of the control.statechanged callback? Is there a difference?

It is actually called in neither of them.

It is called only in Paint event. But it happens after a Window is resized. To make it even stranger then the context that is getting drawn into is not even the Window context, its a off screen context.

By getting locked up then I mean that Canvas controls on the same window will stop drawing them selfs.

I have no problems with the DrawPicture in controls where I am using exclusive REALbasic Graphics calls. But that is not the case in the Grid controls where its a mixed world of REALbasic ports, QD and Quartz ports. And the DrawPicture does something to the QD port that I am unable to restore the state for. (Probably because I don't know what it does to the port)
--
______________________________________________________________________
Björn Eiríksson                        bjorn at einhugur dot com
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 52 countries world wide.
______________________________________________________________________
For support:                           support at einhugur dot com
To post on the maillist:               einhugur at yahoogroups dot com


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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