3
Answers

Moving Text & Graphics smoothly on a form!!

Dev

Dev

17y
8.1k
1
Dear All,

I'm tring to build << Announcments Ticker/Scroll >> using OnPaint event to draw a text on the form, then I added a timer 'interval=10' to change the X-coordinate of the graphics object so it start moving to the left

I noticed the following:
1. It is using more the 40% of the CPU utilization.
2. It is not smooth although I'm enabling DoubleBuffer.

How can I build a smooth ticker/scroll such as the one which is used in the satellite TV channels for SMS Chat and breaking news?? Any ideas ?

Please HELP!
Answers (3)