In article <20069@palm-dev-forum>, Richard Anderson wrote:
>
>Hi,
>
>If my application is running but doing nothing except displaying a label on
>a form, how often do I get events, I would have thought that I would get
>quite a lot of system events etc, but I appear to hardly get any (less than
>one every 10 seconds). Is this correct ?.

Events are a signal that something is happening.  If nothing is
happening, why would you get any events?  If you need events with a
certain regularity, use the timeout parameter to EvtGetEvent.  Note that
this guarantees a maximum time between events, not an event every X
milliseconds.  If you're doing animation or other timing-dependent
activities be sure to check the clock.

HTH,
-Ben

-- 
Ben Darnell              [EMAIL PROTECTED]
http://thoughtstream.org
Finger [EMAIL PROTECTED] for PGP/GPG key 1024D/1F06E509


-- 
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