473,387 Members | 1,572 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,387 software developers and data experts.

Dialog look and feel

With VS2005 the look and feel of dialogs created with MFC and Windows Forms
is different. E.g. still of checkboxes, buttons, etc.

Is it possible to achieve the same look and feel with both MFC and Windows
Forms?

TIA,
KK
Dec 5 '07 #1
3 1839
"Kevin" <ke***************@ntlworld.comschrieb:
With VS2005 the look and feel of dialogs created with MFC and Windows
Forms is different. E.g. still of checkboxes, buttons, etc.

Is it possible to achieve the same look and feel with both MFC and Windows
Forms?
What's the visual difference? Does one application use the classic style
and the other one the new Windows XP style?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Dec 5 '07 #2

"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:uO**************@TK2MSFTNGP05.phx.gbl...
"Kevin" <ke***************@ntlworld.comschrieb:
>With VS2005 the look and feel of dialogs created with MFC and Windows
Forms is different. E.g. still of checkboxes, buttons, etc.

Is it possible to achieve the same look and feel with both MFC and
Windows Forms?

What's the visual difference? Does one application use the classic style
and the other one the new Windows XP style?
With the MFC dialog the buttons are squarer and darker grey. The radio
buttons and checkboxes are recessed. The Windows Forms dialogs has the
latest Office look, so rounder buttons and flat checkboxes.

Dec 6 '07 #3
Hi Kevin,

If you look at Program.cs there is a line in Main() called

Application.EnableVisualStyles();

If you comment this line or remove it xp style is gone, or at least for the
common controls. Not sure why you would want to though.

--
Happy Coding!
Morten Wennevik [C# MVP]
"Kevin" wrote:
>
"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:uO**************@TK2MSFTNGP05.phx.gbl...
"Kevin" <ke***************@ntlworld.comschrieb:
With VS2005 the look and feel of dialogs created with MFC and Windows
Forms is different. E.g. still of checkboxes, buttons, etc.

Is it possible to achieve the same look and feel with both MFC and
Windows Forms?
What's the visual difference? Does one application use the classic style
and the other one the new Windows XP style?

With the MFC dialog the buttons are squarer and darker grey. The radio
buttons and checkboxes are recessed. The Windows Forms dialogs has the
latest Office look, so rounder buttons and flat checkboxes.

Dec 7 '07 #4

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

Similar topics

2
by: Patrick Herb | last post by:
Hello, I'm trying to print the content of a RichTextBox from my VB 6 app. What I want is that the CommonDialog shows up, the user selects a printer and the content of the RichTextBox prints to...
3
by: Captain Dondo | last post by:
I am working on a console app based on dialog ( see e.g. http://hightek.org/dialog/ ). I would also like to have a web-based interface with a similar look and feel. Has anyone come across a php...
3
by: CaribSoft | last post by:
I want to create my own common dialog to use in an application . How do I show a custom dialog (form) in a class based on the common dialog class?
23
by: George | last post by:
Is there a way to customize the open file common dialog? I am trying to modify the button text so I can create a delete file common dialog. I need the same functionality of the open file common...
1
by: eng_nahswa | last post by:
hiiiii everybody i want to know how can i create a color dialog box in asp.net application or a color palette.
5
by: et | last post by:
Am I correct in that Popup dialog boxes are not available in asp.net? Like the "Are you sure you want to delete?" with yes/no options? What are ways to do this? Thanks for your help. Am new...
1
by: André Dumolas | last post by:
I use the setup project of Microsoft Visual Studio. I would like to customize one of the textbox in the user interface dialog box of my program setup. I would like to know if there is a way to...
7
by: Peter | last post by:
ASP.NET 2.0 I am trying to open a Word document and Excel document from a dialog web page, what's the best way to do that? I have tried the following: Response.Clear();...
5
by: Stefano Tonello | last post by:
Hi all, I need to call windows' "open with" dialog from my C# windows form application. After the user selects application, control must return to me (I have to launch directly the process). I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.