|
-
Jan 20th, 2008, 09:42 AM
#1
Thread Starter
Lively Member
[2.0] Controls GUI
In VS 2003 most controls have the property FlatStyle which contain the values (Standard, System, etc.). The Standard value means to keep the standard GUI of the control as the VS draw it whatever the Windows running is and it is the standard of the GUI of Windows versions before XP, and the system value take the system GUI and draw the control like buttons as the Windows draws it if it is XP. In VS 2005 it becomes opposite and the standard value draws it as the VS standard GUI under Windows XP which I use and take the system GUI in running and the system value make it one GUI in running which is the old GUI. I want to ask if I can make the controls appear with one GUI like the XP or any whatever the Windows is XP or previous (I mean buttons most) or this is need a third party control or I must draw it by coding?
-
Jan 20th, 2008, 05:27 PM
#2
Re: [2.0] Controls GUI
There is still the way of using a manifest file in C# like there was in VB6, but setting the FlatStyle property to System should do the job. Here is a link to MSDN discussing this topic...
Using Windows XP Visual Styles With control on Windows Forms
The manifest file option is also documented in there with everything you will need
-
Jan 20th, 2008, 06:26 PM
#3
Re: [2.0] Controls GUI
By default, applications built with VS 2005 will render controls in accordance with the current Windows theme. From your post I think that that is what you want, but I'm not 100% sure.
Maybe you're saying that you want to render your controls in a specific way regardless of the current Windows theme. Is that it?
-
Jan 21st, 2008, 02:12 PM
#4
Thread Starter
Lively Member
Re: [2.0] Controls GUI
To jmcilhinney
Yes I want to render my controls in a specific way or the application use the shape of XP in buttons regardless the windows verrsion or theme.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|