473,385 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Border of controls displays old 3D look? WHY?

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?
Jun 21 '06 #1
2 2278
A call to Application.EnableVisualStyles() is missing (in Main(), before
Application.Run()), maybe?

"ARTMIC" <AR****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
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?

Jun 21 '06 #2
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" <AR****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
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?


Jun 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Rolf Brauser | last post by:
Hi, I want to have a table with a border of 1px arround it but table="1" is more than a pixel because this 3d effect is attached. Values below are not accepted How can I get this border with...
2
by: tperri | last post by:
I've got a page with a couple ascx files on it. One od the controls displays a user's picture, the other contains a datagrid where a user can upload more pictures, change their default picture,...
31
by: jcrouse | last post by:
Is there a quick and easy way to change the color of a label controls border from the default black to white? Thank you, John
5
by: AbdulGafoor GK | last post by:
hi i am using visual studio 2005. i could make combobox flat, but without border. is there any way to draw a border for it ?!!! thanks
15
by: Arpan | last post by:
Consider the following code which retrieves data from a SQL Server 2005 DB table & displays it in a DataGrid: <script runat="server"> Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)...
17
by: michel.ank | last post by:
Hi, I'm using the class PrintLines and my last record of page aren't with the borders. Somebody can help me? Thanks,
8
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
I want to create a custom form border. By thought was to simply override the DisplayRectangle property in order to control the border width and then draw the border during the OnPaint event. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.