473,789 Members | 2,530 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1863
"Kevin" <ke************ ***@ntlworld.co mschrieb:
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******** ******@TK2MSFTN GP05.phx.gbl...
"Kevin" <ke************ ***@ntlworld.co mschrieb:
>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.Ena bleVisualStyles ();

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******** ******@TK2MSFTN GP05.phx.gbl...
"Kevin" <ke************ ***@ntlworld.co mschrieb:
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
22312
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 the selected printer. I'm not concerned about the text format. What I tried is something like this CommonDialog1.ShowPrinter
3
3233
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 based dialog widget toolkit? This would be really handy.... Thanks, --Yan
3
4137
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
7043
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 dialog but just need to change the button text from "open" to "delete". Any ideas? Thanks
1
3258
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
1300
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 to this, so I may have just missed it.
1
4609
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 add a property to one of the EditNLabel in order to use it as a password textbox. Thanks dumolas
7
4019
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(); Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
5
6209
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 found this solution: http://www.codeproject.com/KB/shell/openwith.aspx but it's not good for me since it will execute the process directly.
0
9663
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9506
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10193
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9016
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6761
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4089
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2906
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.