0 is not return immediately, its actually wait for next event. Pass some number other than 0. Don't think of the parameter as the 'time out' value but rather as how long will EvtGetEvent wait until generating a nilEvent (with 0 being 'forever')
----- Original Message ----- From: "Tim Kostka" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, April 29, 2004 10:27 PM Subject: Re: about nilEvent > 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/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
