Smooth Scrolling Text using GDI+

  • Thread starter Thread starter Bishman
  • Start date Start date
B

Bishman

Hi,

I have been trying to get text to scroll smoothly accross a windows form
using GDI+ and a timer. Changing the position of the text by a configurable
amount and calling invalidate to force a redraw at various intervals ( based
on the timer ). The text is not moving that smoothly, it seems very jerky,
no matter what combination of timings and pixel amounts to move so I have
looked at other code and posts and they all seem to have the same problem.
'Double Buffering' is a technique refered to but when I turn this on using
the property of the form the text is only visible periodically ! I have seen
an example of scrolling text using Double Buffering but to be honest I didnt
think it was that much smoother than what I already had.

Am I wasting my time trying to get smooth scrolling text in a windows forms
uisng GDI
app and if so why !! If it is possible is there any C# .Net 2.0 code
floating around I could look at ?

I was thinking of having a stab at some Direct X ! Is this the way to go ?

Thanks.

Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top