Hello everyone!
Ok, I made this program that is, mainly, a Clock that displays messages stored in a db. (it can also show a slideshow of images but this part works)
My problem is:
The scrolling speed is slow... The computer that will be used to run this is a 733 with 256mb ram and Windows 2000 and runs nothing else.
I use DrawString and a timer to move the marquee. I invalidate only the part that needs to be updated... But it's still slow. (eats up 98% of the cpu according to taskmanager)
Removing the second timer (updates the time on each second) makes things a little better but still a no go.
I probably am doing something wrong.
Anyone has ideas or pointers for me on that one?
Thanks in advance for your help!
SG
Ok, I made this program that is, mainly, a Clock that displays messages stored in a db. (it can also show a slideshow of images but this part works)
My problem is:
The scrolling speed is slow... The computer that will be used to run this is a 733 with 256mb ram and Windows 2000 and runs nothing else.
I use DrawString and a timer to move the marquee. I invalidate only the part that needs to be updated... But it's still slow. (eats up 98% of the cpu according to taskmanager)
Removing the second timer (updates the time on each second) makes things a little better but still a no go.
I probably am doing something wrong.
Anyone has ideas or pointers for me on that one?
Thanks in advance for your help!
SG