Quantcast
Channel: FPS problem using OnTimer()
Viewing all articles
Browse latest Browse all 2

FPS problem using OnTimer()

$
0
0
Hello, i'm using OnTimer() function with MFC C++. I've set the timer: SetTimer(1,1,NULL); The second parameter means the fps as i know. I use the timer to move different kind of objects on my screen. When i test the program on another pc it lags a little bit and i notice it slows down the CPU(it takes a high usage). On my pc it works perfectly, i mean the objects move smoothly. I need to know if that has been caused by the Frames Per Second which i've put to 1 in SetTimer(). Thanks in advance i hope you understand me.

Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>