Migrating application from 1.1 to 2.0


M

Maqsood Ahmed

Hello,
We have started our migrating our application which is currently
running on .NET Framework 1.1 SP1 to .NET Framework 2.0 SP1. We didn't
have Visual Styles enabled in our application due to some issues
present in 1.1 SP1. Now we are planning to enable visual styles but we
are facing two issues.

1. All toolbar images are not visible when we enable XP visual styles.
For this, I have also tried to remove all images and add them back,
but no change.
2. All text boxes are not displayed as they should in XP themes, i.e.
they should have a 'Flat' appearance in XP theme and sunken appearance
in Win2K like themes. Text boxes are displayed sunken on both theme
styles.

Please let me know the solution at the earliest.

Regards,
Maqsood Ahmed
Kolachi Advanced Technologies
http://www.kolachi.net
 
Ad

Advertisements

J

JackUn

Hello,
We have started our migrating our application which is currently
running on .NET Framework 1.1 SP1 to .NET Framework 2.0 SP1. We didn't
have Visual Styles enabled in our application due to some issues
present in 1.1 SP1. Now we are planning to enable visual styles but we
are facing two issues.

1. All toolbar images are not visible when we enable XP visual styles.
For this, I have also tried to remove all images and add them back,
but no change.
2. All text boxes are not displayed as they should in XP themes, i.e.
they should have a 'Flat' appearance in XP theme and sunken appearance
in Win2K like themes. Text boxes are displayed sunken on both theme
styles.

Please let me know the solution at the earliest.

Regards,
Maqsood Ahmed
Kolachi Advanced Technologieshttp://www.kolachi.net

Control styles should be set to system, alas no flat etc. or uxtheme
won't draw them.
 
Ad

Advertisements

M

Maqsood Ahmed

Hello Jack,

Thanks for your answer. There is no property as FlatStyle for
TextBoxes. I have set this property for other controls as System
already, but TextBoxes are still displayed as sunken :(.

I have tried to add some new textboxes to one of the forms and the
affect is same.

Regards,
Maqsood Ahmed
 

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