I'm not sure I understand what you're asking, but I think all you need to do is pass a
suitable constant for the timeout value in your call to EvtGetEvent rather than
evtWaitForever. A typical value for this would be a one second interval. If you want
your timer or clock to change every second, then this will cause the timer to be up to
a second late in updating. For a clock without seconds, this is fine. Remember that
EvtGetEvent can return sooner than you requested, so always check the time and decide
whether to update the display each time.
--
Peter Epstein
Palm Inc. Developer
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/