Look at EvtGetEvent. Set the timeout to 0 to return immediately. You don't need a nilEvent in the queue to update graphics, you just want to process everything else first, and when this function returns with nilEvent, that is typically the case.
However, if you want to generate nilevents every so often, use EvtSetNullEventTick. -- Tim Kostka http://www.nuprograms.com "armada" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I want to do a animation using nilEvent. > I find some games send nilEvent very frequent,e.g: "GTS > Racing",Insaniquarium by www.astraware.com. > I find it is very slow in my application.How do I let nilEvent more. > Thanks. > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
