You can use the alarm manager to send a launch code to your application
after a specified amount of time. Look at the doucmentation for
AlmSetAlarm(). That way your application's event loop keeps running, but
after a specified amount of time it will be notified that it's time to move
on to the next form.
-Bob Whiteman
> -----Original Message-----
> From: Timothy Astle [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 23, 2000 11:37 AM
> To: Palm Developer Forum
> 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 Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/