473,569 Members | 2,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

visual styles support

I'm writing applications in vc++ .net 2003. How do I give
the applications visual styles on winxp without adding a
..manifest file?
Nov 16 '05 #1
6 1459
"ht990332" <th*********@ho tmail.com> wrote in message
news:05******** *************** *****@phx.gbl.. .
I'm writing applications in vc++ .net 2003. How do I give
the applications visual styles on winxp without adding a
.manifest file?


If I understand the question, then the answer is to add a manifest resource.

--
Jeff Partch [VC++ MVP]
Nov 16 '05 #2
Do you mean adding a .manifest file? ( for example
app.exe => app.exe.manifes t ) ?

Nov 16 '05 #3
"ht990332" <th*********@ho tmail.com> wrote in message
news:04******** *************** *****@phx.gbl.. .
Do you mean adding a .manifest file? ( for example
app.exe => app.exe.manifes t ) ?


Not sure, but I don't think so. What I mean involves adding an RT_MANIFEST
resource to your application as is documented here...

http://msdn.microsoft.com/library/de.../xptheming.asp

--
Jeff Partch [VC++ MVP]
Nov 16 '05 #4
Ok I'll try it. Shouldn't be that hard.

Btw, can I find sample code on msdn library so I can see
an example of this?
Nov 16 '05 #5
I am pretty sure you are not writing a Managed C++ code. If you are, You can
use Application.Ena bleVisualStyles () which should allow you to do that.

Check out
http://blogs.gotdotnet.com/rprabhu/p...f-afb01f0164cf

For some more information about visual styles.
--
Girish Bharadwaj
"ht990332" <th*********@ho tmail.com> wrote in message
news:03******** *************** *****@phx.gbl.. .
Ok I'll try it. Shouldn't be that hard.

Btw, can I find sample code on msdn library so I can see
an example of this?

Nov 16 '05 #6
Platform SDK covers this territory well. Search for "Visual Styles". Also
provides a custom control sample with visual style support.

Cheers,
Sarat Venugopal
www.huelix.com
"ht990332" <th*********@ho tmail.com> wrote in message
news:05******** *************** *****@phx.gbl.. .
I'm writing applications in vc++ .net 2003. How do I give
the applications visual styles on winxp without adding a
.manifest file?

Nov 16 '05 #7

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

Similar topics

33
3112
by: John Timbers | last post by:
I'd like to purchase Visual C# .Net for learning purposes only since it's a lot cheaper than Visual Studio (note that I'm a very experienced C++ developer). Can someone simply clarify the basic differences. Ok, Visual Studio has C++, VB and J++ thrown in plus some extra bells and whistles (I already have some minimal experience) but are both...
18
2265
by: Egbert Nierop \(MVP for IIS\) | last post by:
When I build some add-ins for the management console using C++, the add-ins made by me show a Win2000 interface while the rest of the add-ins made by MS are using XP themes. What am I missing? Cheers
10
14347
by: Robert Jacobson | last post by:
Hi, I'm develing a COM add-in for Microsoft Word XP that displays a form. I'd like to have the form display using the Windows XP theme. However, neither using a manifest nor calling Application.EnableVisualStyles does the trick. (EnableVisualStyles works but massive instability, probably because the system is trying to theme the Word...
3
1775
by: Brian Henry | last post by:
here's something odd, maybe someone can explain it, when i turn on application.enablevisualstyles at application start before i do my application.run(context) command in the sub main, when the app context runs and I get my main form, the toolbar is now missing all its icons (24x24) the buttons are there just the icons are gone, also pretty...
0
3324
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the Microsoft Visual Studio 2005 Software Development Kit. By providing a full help authoring environment within the Visual Studio 2005 SDK, Innovasys...
5
4772
by: MLM450 | last post by:
I want to use visual styles in my app, but it is causing a problem with a DLL I use. Is there a way to disable visual styles for that DLL? I do not have access to the code for the DLL. The DLL's developer is aware of the problem but will not have a fix ready in time for me.
2
1116
by: Flash | last post by:
Hello, recently I was looking through the system properties and came accross system.visualstyles namespace. This appears to contain all of the visual style elements in xp and I was wondering if it is possible to change these, either using the way I found or another. When I tried to change one of the elements, I got an error saying that it...
1
1966
by: =?Utf-8?B?UmljaA==?= | last post by:
On my old workstation (development workstation) if I set Application/Enable XP visual styles - I was able to get/see the visual styles - like button borders highlighting when you run the mouse over them. But on my new workstation (development workstation) I can't get the visual styles to work. Matter of fact, the button controls appear raised...
0
7703
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...
0
7618
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...
0
7926
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5514
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...
0
5223
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...
0
3657
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2117
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

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.