[futurebasic] Re: Building window invisibly

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1997 : Group Archive : Group : All Groups

From: Scott at JMar <jmar@...>
Date: Tue, 23 Dec 97 16:37:59 -0800
Ken asked: 

>Question 1:
>
>I'm sure this has been addressed before, but could someone help me
>understand the concept of building a window invisibly. On Page 81, the
>Handbook says to make a window invisible, you change the ID to negative,
>and then restore it to positive to make it visible again. I have done this
>in the example below, but the window contents are gone when the positive ID
>is restored.
>
>I have a splash screen calling a PICT resource that I would like to build
>invisibly on launch before it's displayed, but I can't get the thing to
>work in the background.
>
>'-------------- Begin Program ---------------

SNIP
SNIP
>
>DO
>UNTIL FN BUTTON
>'-------------- End Program -----------------

Try this:

DO
     HANDLEEVENTS
UNTIL FN BUTTON

Works now!!!

Scott