Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / June 2006

Tip: Looking for answers? Try searching our database.

VS2005 problem with look/feel of Combo and Edit boxes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ARTMIC - 20 Jun 2006 23:10 GMT
Hello i have an old project from Visual studio 2003, and when i convert it to
the new Visual Studio 2005 project, everything works perfectly, the exception
being the look/feel of the application !!!

When i create a new app in VS2005 the combo boxes, and edit boxes have this
sleek thin blue border around them,
BUT the converted project from 2003 VS still has the regular 3d box like
appearance around the damn combo boxes and edit boxes !!! i can't seem to get
it to work with the sleek look,

Does anyone know what the problem is?
Carlos J. Quintero [VB MVP] - 21 Jun 2006 10:06 GMT
Hi,

You may need:

1) To select the checkbox "Enable XP Visual Styles" in the project
properties pages ("Application section"), to avoid the use of an external
XML manifest file.

2) Change the FlatStyle property of controls from Standard to System.

See:

Creating a Visual Studio .NET Add-In to Provide Windows XP Theme Support
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html
/xpthemeaddin_.asp


If you need to change the FlatStyle property of all the controls of your app
by hand, my MZ-Tools add-in (below) has an SDK and an external operation
("Enable Windows XP Theme") to do it automatically:

External Operations (MZ-Tools SDK of MZ-Tools 4.0 and higher)
http://www.mztools.com/community.htm#ExternalOperations

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

> Hello i have an old project from Visual studio 2003, and when i convert it
> to
[quoted text clipped - 11 lines]
>
> Does anyone know what the problem is?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.