Re: Threaded timers



Remy Lebeau (TeamB) schrieb:
Is threaded timer solution?

Maybe. It depends on what your timer is actually doing, and what it accesses.

As he is drawing something on screen (probably using the VCL), I guess a threaded approach will bring more problems than solutions...

Uwe Raabe
.



Relevant Pages

  • Re: Thread Logic Question
    ... The timer fires approximately 30 fps in which a call is made to ... I then perform the drawing in the contained class ... the UI form doesn't receive the user control events ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Thread Logic Question
    ... it is drawing in the main UI thread. ... Timer elapsed - call to RedrawViewers ... What I did was make the painting more efficient and lower the FPS timer ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Posting 60 messages per second to CView locks up UI (animation continues...)
    ... You can get finer resolution if you are not using timer messages, but, for example, just ... all of its time drawing. ... callback of timeSetEvent is executed in a separate thread. ...
    (microsoft.public.vc.mfc)
  • Re: Timer
    ... >> I need a way to time visitors that come and log in to my site. ... > ideal conditions (i.e. some sort of foolproof login system), ... > accesses, so correctly assessing how much time they spent 'on' your ... The timer is to make sure a person spends 20 ...
    (alt.php)
  • Re: Turning off some messages - is it possible? Is it unnecessary?
    ... I have been using UpdateWindow for the screen and putting code in ... > multimedia timer and it's working a lot better than the regular timers. ... your drawing with the screen refresh. ... you've never used DirectX previously, the learning curve for this is ...
    (microsoft.public.vc.mfc)