Improving Paint performance while Scrolling

Tech-Archive recommends: Speed Up your PC by fixing your registry



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!

.



Relevant Pages

  • Re: Cant get focus away from combo box!
    ... is _always_ highlighted, and when I turn the mouse wheel, it scrolls ... I have a scroll bar. ... the values in both controls change ... the IDE and look at the Properties window, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: simple app needs optimization?
    ... but here's a version that at least corrects what I felt were the most problematic issues: ... Because the things affecting the minimum size are controls, the Form automatically updates the scroll bars to account for changes in the location of the child controls. ... keeps track of the current selection, so that when you select a new child control, you can deselect the old selection. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Testing Original Script
    ... advertise plus scroll changes and close button in the controls. ... This is the Original Script that Richard posted a couple of years ago, ... controls in the Popup to control midi volume and scrolling. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress.stationery)
  • Re: Positioning Form
    ... have to scroll down or right to get to all of your controls. ... Private Sub Position_Click ... It still opens up a little way down from the top, ...
    (microsoft.public.access.formscoding)
  • Re: Positioning Form
    ... have to scroll down or right to get to all of your controls. ... This would move the form to the top left corner of the Access window, ... Private Sub Position_Click ...
    (microsoft.public.access.formscoding)