Improving Painting while Scrolling

  • Thread starter Thread starter sanjusunny
  • Start date Start date
S

sanjusunny

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!
 
sanjusu...@gmail.com said:
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.
 
Back
Top