[futurebasic] Re: [FB] Offscreen globaltolocal etc. driving me crazy

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

From: Joe Lewis Wilkins <PepeToo@...>
Date: Wed, 01 Sep 1999 19:02:25 -0700
Mark Goodes wrote:

> 1.  Get a dialog from a resource file (but don't show it).
> 2.  Copy the area of the screen under the dialog to an offscreen gworld
> using the correct coordinates.
> 3.  Show, process, and dispose of the dialog.
> 4.  Restore the area of the screen that was under the dialog using the
> correct coordinates.
> I can do all the gworld stuff no problem, but the copy coordinates are
> really mixing me up.  The copied area keeps reappearing on different
> areas of the screen or not at all.  I really need help setting the
> correct globaltolocals at the correct times.

Hi Mark,
I don't understand WHY you're doing what you're doing; but I think maybe
you're having problems with what the FB  runtime does with respect to
"refreshes". I've had a few situations where I call a Dialog from a Dialog
(showing the 2nd one and then closing it) with the first one still open. So
that there aren't ugly white patches, I have to force a refresh with a call to
WINDOW FILL (an FB call), which sometimes results in flashing or double
redrawing of somethings. For me it has been a real black-art (like scrolling),
but I usually get the timing down OR accept what I have as being the lesser of
two evils.

As I said, I don't understand why you're trying to do what you SAID you're
wanting to do. Needless to say, I have had a LOT of experience with Dialogs,
so MAY be able to help you more if you can help me see the problem better.

Joe Wilkins