G
Guest
Hello,
I have a problem with a form loading a repainting. Because the form
uses an office 2000 styles, when it paints it causes a lot of flickering. The
standard advice is to set the following
SetStyle(ControlStyles.DoubleBuffer, True)
SetStyle(ControlStyles.AllPaintingInWmPaint, True)
However this seems to make no difference. When the form loads it originall
appears in the old grey colour of classic windows and then quickly changes to
the new blue of
Office 2000 styles. This causes a lot of flickering, any ideas to reduce or
possible remove this so that the form appears fully formed. The form is an
inherited form so this may be another issue.
Regards
Robert
I have a problem with a form loading a repainting. Because the form
uses an office 2000 styles, when it paints it causes a lot of flickering. The
standard advice is to set the following
SetStyle(ControlStyles.DoubleBuffer, True)
SetStyle(ControlStyles.AllPaintingInWmPaint, True)
However this seems to make no difference. When the form loads it originall
appears in the old grey colour of classic windows and then quickly changes to
the new blue of
Office 2000 styles. This causes a lot of flickering, any ideas to reduce or
possible remove this so that the form appears fully formed. The form is an
inherited form so this may be another issue.
Regards
Robert