> > Using Standard Basic with OS X > > Has anyone tried drawing into a resource dialog window? It works fine in OS 8 > and 9, but in OS X the drawing uses the coordinates of the FB window beneath > it. Anyone else have this problem? Or know a way to do it? I tried various > ways of setting the window port, using localtoglobal/globaltolocal, etc. > > > Al Staffieri Jr. > wild guess: don't you have to flush the window buffer to make this show up? long if fn QDIsPortBuffered( port ) QDFlushPortBuffer( port, 0 ) // flush dirty parts if waitFlag == 0 then exit fn // don't wait ticks = fn Tickcount + 1 while ticks >= fn Tickcount // wait for buffer to actually draw (asynchronously) wend end if -STAZ ~)~