At 11:22 AM 7/14/2000, Andrew Lathrop wrote:
>Can anyone give me an idea as to how i can creeate a spalsh screen that does

>one of two things.
>1. It only shows up the first time the program is run.
>2. It shows up unless the user checks a checkbox saying not too.

I've done (1) by storing a Boolean in my application preferences structure that 
indicates whether this is the first run of the application. When loading the 
application preferences, if none are found, I create suitable initial preferences, 
including a value of true for this Boolean. Theoretically, you don't even need a 
Boolean in the preferences, since the presence or absence of the application 
preferences is enough to tell you whether the application has been run before.
--
Peter Epstein
Palm Inc. Developer


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to