For updating change your main

EvtGetEvent(&event, evtWaitForever);
 
In the (MAIN) event loop (AppEventLoop(void) in CW created projects maybe
something else some where else)


i.e. change the evtWaitForever to a number, this number is any number you
can live with that will give you enough events to deal with.

See the EventManger Section of said documentation.

Then the app will generate nilEvents from which you can call TimGetSeconds
or TimGetTicks, check if it's time to update, etc, etc. ;-)

-- 
Matt Disher
[EMAIL PROTECTED]


> From: "Christophe HOCMAN" <[EMAIL PROTECTED]>
> Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Newsgroups: palm-dev-forum
> Date: Mon, 11 Mar 2002 16:41:22 +0100
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Subject: Re: Displaying Date and Time
> 
> ting about formating and geting it but how implement the time
> update each minute ?
> I guess it takes place in the main event loop but what's to catch ?
> Regards
> Christophe


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to