FWIW, if that is the problem, just setting the DoubleBuffer style to True won't be enough--you must also set the AllPaintingInWMPaint and UserPaint bits for this to work, as in:
Me.SetStyle(ControlsStyles.DoubleBuffer Or ControlStyles.AllPaintinginInWMPaint Or ControlStyles.UserPaint, True)
From the online help:
Drawing is performed in a buffer, and after it completes, the result is output to the screen. Double-buffering prevents flicker caused by the redrawing of the control. To fully enable double-buffering, you must also set the UserPaint and AllPaintingInWmPaint bits to true. |