Read-only archive of the All About Symbian forum (2001–2013) · About this archive

gClock, How more than one clock ?

3 replies · 1,551 views · Started 26 January 2005

Roman wrote:How can I show more than one clock in a window with the command gClock ?

Simple answer: you can't.

But you can create other clocks with asynchronous programming conditioned that you have a working timer in the phone. (The S80 v1 Timer is faulty, not sure about S80 v2 and UIQ.)

Roman wrote:Do you have an code example or where can I found one ?

For asynchronous programming with a timer:

dpNote0028 Asynchronous event loop with inactivity timer

is a good starting point. See www.dp.com.my under dpNotes.

You might wish to expand the code by setting several timers instead of one but this should be quite straightforward.

cheers
Martin