By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,142 Members | 1,718 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,142 IT Pros & Developers. It's quick & easy.

visual styles support

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
"ht990332" <th*********@hotmail.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

P: n/a
Do you mean adding a .manifest file? ( for example
app.exe => app.exe.manifest ) ?

Nov 16 '05 #3

P: n/a
"ht990332" <th*********@hotmail.com> wrote in message
news:04****************************@phx.gbl...
Do you mean adding a .manifest file? ( for example
app.exe => app.exe.manifest ) ?


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

P: n/a
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

P: n/a
I am pretty sure you are not writing a Managed C++ code. If you are, You can
use Application.EnableVisualStyles() 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*********@hotmail.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

P: n/a
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*********@hotmail.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 discussion thread is closed

Replies have been disabled for this discussion.