RE: Slow painting, flickering on complex forms

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Nigel Armstrong (NigelArmstrong_at_discussions.microsoft.com)
Date: 11/12/04


Date: Fri, 12 Nov 2004 06:14:05 -0800

Hi James

Nope - don't see this behaviour - are you sure that you aren't thrashing the
machine somehow? I've got 200 labels on a form, and the repaint when the app
regains focus is pretty good. Certainly not individual repaints...

Nigel

"James Li" wrote:

> Try this:
>
> Create a form with about 50 labels on it. Make the BackColor of the form the
> usual windows grey - and leave the labels as is.
>
> Run the app.
> Alt-Tab back and forth from another app (preferable one with a white
> background - such as MS WORD).
> On my (average spec) PC there is a noticeable flickering and you can
> actually see each label paint its background first white, and then grey.
> What am I doing wrong?1



Relevant Pages

  • RE: Slow painting, flickering on complex forms
    ... > usual windows grey - and leave the labels as is. ... > Run the app. ... > actually see each label paint its background first white, ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Slow painting, flickering on complex forms
    ... JL> form the usual windows grey - and leave the labels as is. ... JL> Run the app. ... JL> actually see each label paint its background first white, ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: A fixed size window in Java
    ... I have a Panel with some JLables layed out with GridBagLayout. ... When some labels are deleted and I want to be redisplayed that area using validate(), then the old labels are not removed. ... But calling repaint() after validatedoesn't work. ...
    (comp.lang.java.programmer)
  • Slow painting, flickering on complex forms
    ... Create a form with about 50 labels on it. ... usual windows grey - and leave the labels as is. ... Run the app. ... actually see each label paint its background first white, ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Controls on Form change size
    ... > basic Form with a few textboxes, comboboxes, buttons, labels and one ... > (based on what I can see from the screenshot I got). ... > The app uses the same version of .Net Framework as everybody else. ... > What I would like to know is, can Windows settings somehow affect the Form? ...
    (microsoft.public.dotnet.languages.csharp)