Scroll and slow redraws

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Diogo Alves - Software Developer

    #1

    Scroll and slow redraws

    Greetings...

    I'm on OnPaint Event of a form some rectangles on the screen
    I used the scroll move them from left to right and vice versa, what I do is
    OnScroll Event this.Invalidate ()....

    If I have a 1024*768 resolution it's everything fine.... but if it is bigger
    like 1280*1024... it is no more a fluid moviment... and it's slower to
    refresh....

    There is anyway to avoid that....

    I've already tried to define a Rectangle on the invalidate to only redraw
    that section of the screen but without any success......

    And desesperate with this!

    Thanks in Advance
Working...