PC Review


Reply
Thread Tools Rate Thread

Border of controls displays old 3D look? WHY?

 
 
=?Utf-8?B?QVJUTUlD?=
Guest
Posts: n/a
 
      21st Jun 2006
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, round edges for buttons, etc..,
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?
 
Reply With Quote
 
 
 
 
Brendan Green
Guest
Posts: n/a
 
      21st Jun 2006
A call to Application.EnableVisualStyles() is missing (in Main(), before
Application.Run()), maybe?

"ARTMIC" <(E-Mail Removed)> wrote in message
news:8010F9C5-9666-47FB-997A-(E-Mail Removed)...
> 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, round edges for buttons, etc..,
> 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?



 
Reply With Quote
 
=?Utf-8?B?QVJUTUlD?=
Guest
Posts: n/a
 
      21st Jun 2006
Thank you thank you thank you !
it worked like a charm
added that enableVisualStyles() and bang ! works

"Brendan Green" wrote:

> A call to Application.EnableVisualStyles() is missing (in Main(), before
> Application.Run()), maybe?
>
> "ARTMIC" <(E-Mail Removed)> wrote in message
> news:8010F9C5-9666-47FB-997A-(E-Mail Removed)...
> > 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, round edges for buttons, etc..,
> > 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?

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Picture box displays an edge on right and bottom border Amit Microsoft C# .NET 2 14th Jun 2007 06:28 PM
Change a controls Border (width and color) on standard Winform Controls aarongoodman@gmail.com Microsoft C# .NET 0 26th Apr 2006 07:02 PM
extending inner border lines for report that displays an invoice a Microsoft Access Reports 2 9th Mar 2006 02:27 PM
Shared Bottom Border Displays Twice! =?Utf-8?B?R3JhbnQh?= Microsoft Frontpage 3 6th Apr 2005 06:47 AM
Windows Displays Beyond Screen Border on HDTV Rear Projection Monitor =?Utf-8?B?bWV0YW1vdmVy?= Windows XP Hardware 0 8th Feb 2004 01:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:11 PM.