[OT] One Last Question WRT Flickering Problem

  • Thread starter Thread starter C# Learner
  • Start date Start date
C

C# Learner

I was just thinking... maybe this flickering problem is an XP-only thing?

Does anyone who tried my problem reproduction code run XP, and see no
flicker?
 
C# Learner,
If I run your code I do experience the same thing. When the form
opens after the button is pressed I can see a slight flicker for the labels,
infact I can tell they are whiteboxes where the labels are drawn. I ran
this code on an XP machine using .NET 1.1.

Oh since you seem to be quite an active poster, a first name would
be nice =)

HTH,

//Andreas
 
Andreas said:
C# Learner,
If I run your code I do experience the same thing. When the form
opens after the button is pressed I can see a slight flicker for the labels,
infact I can tell they are whiteboxes where the labels are drawn. I ran
this code on an XP machine using .NET 1.1.

Yep -- that's exactly what I get. It's *very* noticable here too.
Oh since you seem to be quite an active poster, a first name would
be nice =)

My first name's Tom as in Thomas :-)
 
Andreas said:
C# Learner,
If I run your code I do experience the same thing. When the form
opens after the button is pressed I can see a slight flicker for the labels,
infact I can tell they are whiteboxes where the labels are drawn. I ran
this code on an XP machine using .NET 1.1.

[...]

Thanks for running it. My mind can now rest in the knowledge that it's
probably not my hardware that's to blame.

:-)
 
C# Learner said:
Attached :-)

When the button is clicked, a new modal form opens. This form contains
various labels.

When the labels are being initially shown, they get drawn too
slowly/late here. The effect is that I get a large amount of flicker
when they're being drawn for the first time.

Running it on my XP box, there's no problem at all.
 
C# Learner said:
Thanks for running it. My mind can now rest in the knowledge that it's
probably not my hardware that's to blame.

I don't think you can really come to that conclusion. It's quite
possible that Andreas just has the same problematic piece of hardware -
or at least one which exhibits the same type of problem.

You seem to really *want* to blame .NET here, but .NET is the one thing
that everyone who's run this code all have in common. I wouldn't rush
to rule out *anything* at this stage, to be honest.
 
I have the same visible "effect" running your code on slow CPU's (1GHz and
lower), especially the first time form2 gets drawn,
on > 2Ghz there is no visible effect.
What's the speed of your CPU?

Willy.
 
Willy,

Strange, I ran the code on my notebook 1.6Ghz Centrino (which is close
to
3Ghz on a "normal" cpu architecture) with 512MB Ram and a 30MB ATI
MOBILITY RADEON 9000 .. Think it might have to do with the available
amount of gfx.memory?

I have an AMD 1.4Ghz with a GeFroece3Ti500 and a P4 2.4Ghz with a
GeForce 4 (both with 512MB RAM and 64 and 128MB Gfx-memory) if
anyone is interessted?

//Andreas
 
Willy Denoyette said:
I have the same visible "effect" running your code on slow CPU's (1GHz and
lower), especially the first time form2 gets drawn,
on > 2Ghz there is no visible effect.
What's the speed of your CPU?

3GHz, which could explain it...
 
Willy said:
I have the same visible "effect" running your code on slow CPU's (1GHz and
lower), especially the first time form2 gets drawn,
on > 2Ghz there is no visible effect.
What's the speed of your CPU?

CPU is 2GHz but it's a Celeron -- I don't know how they compare to
Pentiums in terms of speed.

As for RAM, I have 256MB in here.

Graphics card specification is:
- RADEON 9600 SE processor.
- 128MB onboard DDR RAM.
 
C# Learner said:

I have observed the painting speed on my 1.6 centrino notebook and yes
the outlines of the labels are white, if you change the backBackColor
prporty of Form1 to ordinary windows forms grey then problem is
removed.

Seems that youve found a control painting issue in certain
circumstances.... Is that such a problem?
 
Adie said:
I have observed the painting speed on my 1.6 centrino notebook and yes
the outlines of the labels are white, if you change the backBackColor
prporty of Form1 to ordinary windows forms grey then problem is
removed.

Seems that youve found a control painting issue in certain
circumstances.... Is that such a problem?

It is indeed.

My currently-being-developed application's main window has a tree-view
control covering most of it. When secondary modal dialog boxes are
opened in front of it, I get the label flicker problem.

This, of course, is due to the fact that tree-views on my system show up
with a pure white background. This is the default such setting for Windows.
 
C# Learner said:
It is indeed.

My currently-being-developed application's main window has a tree-view
control covering most of it. When secondary modal dialog boxes are
opened in front of it, I get the label flicker problem.

This, of course, is due to the fact that tree-views on my system show up
with a pure white background. This is the default such setting for Windows.

Unlucky :-)
 
Back
Top