On May 7, 2006, at 11:57 AM, Björn Eiríksson 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)


Have you tried REALSelectGraphics instead of calling GetGWorld (&origPort ,&origDev); followed by SetGWorld, in case RB had mucked with the gworld in ways that would somehow change everything?

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

Reply via email to