[futurebasic] Re: [FB] White Dot on Refresh problem

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 1999 : Group Archive : Group : All Groups

From: Jamin <benjamen@...>
Date: Wed, 23 Jun 1999 12:02:45 +1000
Robert Covington said something like:

> >>> Say I have a loop that paints the window black, then PLOT's some points.
> >>> When the loop is done and the program exits from the Menu FN that initiated
> >>> it, I get a single white dot at 0,0.
> >

This is caused by the FB Runtime.  When it gets an update event, it calls:

. then calls the ON DIALOG handler.  The rect passed to the EraseRect call is set to 0,0,8191,8191, so I'm guessing that the clipping has been set to 0,0,1,1. If you what to check for yourself, build the app, then have a look at the runtime code resource (ID 5) at about offsett +173.  Or just do a "atba eraserect" in macsbug to see it happen, then you can do a "dm sp^ rect" to see the retangle.  Why does it do it? - thats one for Andy or Staz....