Improving Painting while Scrolling

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!
 
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!

oops posted to wrong group. Relocating to winforms.
 

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

Top