Oh yes, forgot to suggest something. If you wish to do timing with EvtGetEvent(), keep track of the next system tick that you care about and pass the difference between now and the desired system tick as the timeout to EvtGetEvent(). On return, check to see if you've reached your desired tick. Take care as 'timeout' is an Int32, so watch for overflow/underflow and 0/-1, as they mean something special.
-------------------- Jeff Loucks Work 425-284-1128 [EMAIL PROTECTED] Home 253-851-8908 [EMAIL PROTECTED] Mobile 253-691-8812 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
