i just used the app-wizard for vc6 to create new apps for the series 60, i just got a derived class called CdemoContainer, humm... i just see a Draw() function, i put my draw code inside this function but...... aarrrggghhh.... this function is called by system and only redraws my screen when i push options and test it...
how can i do to rewrite my draw function every tick????
you'll just call it in your container class that implements the Draw() function.
It's basically up to you, when you draw your screen, usually it would make sense to draw it some changes have occured to the information to be shown in the screen, so no need really to make timer just to re-fresh the screen without any changes.
If you are looking a way to update the screen in a loop (realtime graphics), I'd suggest you to take a look on CDirectScreenAccess (Supported by SymbianOS 6.1 and up):
you could also look at CActive class, making loops with active objects is in my opinion a lot better than using direct screen access, but again thats just my opinion.
My reply was a bit misleading (as I read it again), CDirectScreenAccess isn't any answer to original question, but articles (which are about it) most likely has the answer (with examples) :)