Switching from Classic to Windows XP controls look bad??

  • Thread starter Thread starter newscorrespondent
  • Start date Start date
N

newscorrespondent

I have a desktop appliction currently compiling with Visual Studio 2005
written in C#. The client recently switched from Classic Windows to
WindowsXP and many of the controls and background colors are washed out and
can't be seen.

Is there a quick fix or do I just need to go through all of them and make
adjustments? What adjustments need to be made?

Thanks
 
On 20/01/2007 in message <[email protected]>
I have a desktop appliction currently compiling with Visual Studio 2005
written in C#. The client recently switched from Classic Windows to
WindowsXP and many of the controls and background colors are washed out and
can't be seen.

Is there a quick fix or do I just need to go through all of them and make
adjustments? What adjustments need to be made?

Thanks

Are the 'washed out' colours things like Tree Views and List Views with
Hide Selection set to false? If so it's a feature of XP and get worse in
Vista where they seem to use white on white as a high light.

If your app uses the client's existing Windows colours then perhaps he/she
needs to adjust the system wide colours, it is probably an issue in
several spps?
 
Your color settings may not be taking effect due to XP Themes support.
You could try commenting out:

Application.EnableVisualStyles();

in your static Main method to see if that affects this problem. You
could also look for properties like ThemesEnabled on the problem
controls and turn those off as well.

============
Clay Burch
Syncfusion, Inc.
 
Back
Top