Wats new for WindowsForms under Windows Vista

G

Guest

Hi every body,

i have developt a WindowsForms application. When i run this application
normaly under windows Vista, the controls in a TabPage will verry slow
drawing.

--> TabPage: in my TabPages i have min. 20 controls (buttons, checkboxes and
labels) i have performt double buffering for drawing the controls

OK, now i have changed the compatibility mode of the assembly to run as
Windows XP SP2 application in Vista. Now will all controls verry fast drawn
in my Form. What is the causation?

thanks for all responses and sorry for my english ;-)

TOM_MUE (Thomas Mueller)
 
O

Oliver Sturm [MVP C#]

Hello Thomas,
i have developt a WindowsForms application. When i run this application
normaly under windows Vista, the controls in a TabPage will verry slow
drawing.

Not sure how helpful this is, but do you get the same result with every
Windows Forms application? On every machine you have tried? I don't think
the answer to these questions can be yes - I haven't seen any such effect
on any Vista machine so far. I guess there can be all kinds of problems
depending on graphics drivers and lots of other things, but maybe some
tests with other applications and other machines will help you find the
particular thing that is causing the issue.
--> TabPage: in my TabPages i have min. 20 controls (buttons, checkboxes
and
labels) i have performt double buffering for drawing the controls

I don't think double buffering should have any effect in the scenario you
are describing. In any case double buffering doesn't give you more
performance when drawing - I'd try switching it off, even though I'd be
rather surprised if that changed anything.


Oliver Sturm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top