You can also use alarms. LionScribe "Ritu Chawla" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Casper, > > I am able to use it. > > Thanks a Lot. > Ritu > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Caspar > Heiden, vd > Sent: Tuesday, June 01, 2004 2:05 PM > To: Palm Developer Forum > Subject: RE: Timer in Palm > > > Hi Ritu, > > - Get the current time with TimGetTicks: currentTime = TimGetTicks(); > - Call EvtGetNullEventTick(currentTime + nSecs * SysTicksPerSecond()); > - Now, when you receive a nilEvent, test wether the required time has > passed (you can get nilEvents for a number of reasons so a test is > necessary), if not, call EvtGetNullEventTick again as the PalmOs can > only handle one nilEvent at a time... > > Good luck, > > Caspar > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ritu > Chawla > Sent: Tuesday, June 01, 2004 5:41 AM > To: Palm Developer Forum > Subject: Timer in Palm > > Can any body please tell me how to implement a timer in Palm application > > rgds, > Ritu > > > > -- > 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/ > >
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
