Use only one call to EvtGetEvent in you main event loop but change the
evtWaitForever to some other reasonable number.  Modify the event handler in
your form to look for the nilEvent.  Save the time when your form is created
then check the time whenever you handle a nilEvent. If the required amount
of time has pass, move on to the next screen.  Any UI elements will still
work normally (including your check boxes)

----- Original Message -----
From: "Timothy Astle" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[email protected]>
Sent: Wednesday, August 23, 2000 2:36 PM
Subject: Re: Timed Splash Screen


> > Why not just load the next form using FrmGotoForm()?  You probably don't
> > need to generate an event, etc.. FrmGotoForm should handle all this for
> > you.
>
> Maybe I misworded my problem.  I do have a FrmGotoForm(...) function which
> sets it to the next form.  However, there are no events being sent to
cause
> my event handler to tell it that it's time to "move to the next form".  If
I
> click on the screen constantly, it will go to the next form onces the time
> difference is valid.  If it isn't, it stays put.
>
> I need a way to constantly poll.  Right now I'm getting my events from the
> main event loop.
>
> EvtGetEvent(&event, evtWaitForever);
>
> However, I'm weary of using another EvtGetEvent and loop inside of that
> event handler because it seems sloppy to me.  Is that the only way?
>
> +++++++++++++
> Timothy D. Astle
> Embedded Systems Programmer
> ALT Group Inc.
> +++++++++++++
>
> "People who can smile when things go wrong has thought of someone else to
> blame it on."
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
>



-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to