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

Control apperance

Why are the buttons, control tab pages, and a few other things different on
the GUI interface then when my application is run?

For example in the GUI the button have slightly rounded corner and are light
gray/white but when the program runs they are dark gray and square. I don't
mind either but think the preview and the running look should be the same.

Regards,
John
Dec 6 '05 #1
3 948
dan
hello,

r u using vstudio 2005?? because in v.s 2003 the buttons for example are
square in both...and if you want "xp style", that is, rounded corner and
etc...u need a file called a "manifest" that goes within the application
folder, so that then u run the app the user controls gets the "XP style".

dan.

why? i do not know, but i think you are looking

"John J. Hughes II" wrote:
Why are the buttons, control tab pages, and a few other things different on
the GUI interface then when my application is run?

For example in the GUI the button have slightly rounded corner and are light
gray/white but when the program runs they are dark gray and square. I don't
mind either but think the preview and the running look should be the same.

Regards,
John

Dec 6 '05 #2
Yes I am using 2005 and was mostly just trying to get them to look the same.
Don't see where the manifest file will help here.

Regards,
John

"dan" <da*@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
hello,

r u using vstudio 2005?? because in v.s 2003 the buttons for example are
square in both...and if you want "xp style", that is, rounded corner and
etc...u need a file called a "manifest" that goes within the application
folder, so that then u run the app the user controls gets the "XP style".

dan.

why? i do not know, but i think you are looking

"John J. Hughes II" wrote:
Why are the buttons, control tab pages, and a few other things different
on
the GUI interface then when my application is run?

For example in the GUI the button have slightly rounded corner and are
light
gray/white but when the program runs they are dark gray and square. I
don't
mind either but think the preview and the running look should be the
same.

Regards,
John

Dec 7 '05 #3
Thank I found it, since this was an existing application the GUI did not
build the initial startup and some thing were missing.

Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(fals e);

Regards,
John

"dan" <da*@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
hello,

r u using vstudio 2005?? because in v.s 2003 the buttons for example are
square in both...and if you want "xp style", that is, rounded corner and
etc...u need a file called a "manifest" that goes within the application
folder, so that then u run the app the user controls gets the "XP style".

dan.

why? i do not know, but i think you are looking

"John J. Hughes II" wrote:
Why are the buttons, control tab pages, and a few other things different
on
the GUI interface then when my application is run?

For example in the GUI the button have slightly rounded corner and are
light
gray/white but when the program runs they are dark gray and square. I
don't
mind either but think the preview and the running look should be the
same.

Regards,
John

Dec 7 '05 #4

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

Similar topics

6
by: Bruce Rusk | last post by:
I'm using Stephen Lebans' RTF2 control in a report, and have discovered what may be a slight bug in it. I have a lot of non-Western language (Chinese) text in my RTF field, and such records get...
1
by: VINAY | last post by:
Dear All, The subject line could be bit confusing. So let me explain in details, please have patience. I have developed an ActiveX Control(Combo Box Control) in VB6 for a touch screen...
2
by: Tomek | last post by:
Hi, Please help me with this. I'm exporting data to excel file and I want to customize its apperance (i.e. bold columns name, auto size colums width, freeze some columns). Is it possible? I'm...
2
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is...
2
by: Smokey Grindle | last post by:
Anyone know how to do this? just looks odd having flat scrollbars instead of 3D ones in the webbrowser control.. thanks!
15
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
1
by: JeffN825 | last post by:
Hi, I've been struggling with a databinding nuance for a bunch of hours now, so I figured I'd post out for help. I need to databind a control to an object. The control does not have a parent. ...
3
by: =?Utf-8?B?R3JlZw==?= | last post by:
I am used to using third party controls when it comes to setting up appearences. But, now I am using Visual Basic.Net controls that come standard with the product. I've come across a frustration...
1
by: brixdotnet | last post by:
Hi there! I made own user control for displaying and editing content. In Page_Load of this control is checked if user is authorized for editing if so, button for editing is shown, otherwise...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.