Improving Painting while Scrolling

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sanjusunny@gmail.com

    #1

    Improving Painting while Scrolling

    I have a pretty large UserControl (2000 pixels high) on which around
    1000 smaller controls are embedded. When I scroll this whole thing
    using the mouse wheel, everything gets rendered nice and clean. On the
    other hand, if I scroll by moving the scrollbar, the display kinda
    waits until I let go before it repaints. This is more pronounced if I
    scroll fast, it's reasonable when I scroll in small increments.

    Is the Painting supressed when scrolling? I've done selective
    optimization for some controls using ControlStyles.

    Thanks!

  • sanjusunny@gmail.com

    #2
    Re: Improving Painting while Scrolling


    sanjusu...@gmai l.com wrote:
    I have a pretty large UserControl (2000 pixels high) on which around
    1000 smaller controls are embedded. When I scroll this whole thing
    using the mouse wheel, everything gets rendered nice and clean. On the
    other hand, if I scroll by moving the scrollbar, the display kinda
    waits until I let go before it repaints. This is more pronounced if I
    scroll fast, it's reasonable when I scroll in small increments.
    >
    Is the Painting supressed when scrolling? I've done selective
    optimization for some controls using ControlStyles.
    >
    Thanks!
    oops posted to wrong group. Relocating to winforms.

    Comment

    Working...