Simple question... what do you have to do/flag in order for dialog controls to use XP visual themes?
I'm creating a dialog/controls from a resource... what am I missing?
Simple question... what do you have to do/flag in order for dialog controls to use XP visual themes?
I'm creating a dialog/controls from a resource... what am I missing?
http://msdn.microsoft.com/library/de.../xptheming.asp
I think this will get you started. You can search microcraps site and find a whole lot more.
I just gave you a link instead of an answer because I don't know the answer. Just though that it might have the answer your looking for.
Dohojar Moajbuj
Time is the greatest teacher, too bad it kills all its students
The easiest way, just include a manifest file in your programs directory with the name "your_programs_filename.exe.manifest" ..
For example using my program Project 21 (project21.exe) the manifest file would be called project21.exe.manifest ....
The manifest file is just an XML file. Just rename the uploaded manifest file using the convention I showed you and it'll work.
Had to rename the manifest to .txt make sure to rename the file properly.
1) Wow, thanks! That worked PERFECTLY!Originally posted by Mithoric
The easiest way, just include a manifest file in your programs directory with the name "your_programs_filename.exe.manifest" ..
For example using my program Project 21 (project21.exe) the manifest file would be called project21.exe.manifest ....
The manifest file is just an XML file. Just rename the uploaded manifest file using the convention I showed you and it'll work.
2) Is there any way to do this without an external file?
3) How did you know about this? What's a manifest file? Where can I see official documentation on it?
Thanks!
edit: http://www.codeproject.com/csharp/do...asp?print=true this helped me greatly, thanks again
Last edited by BMJ; 09-16-2003 at 01:01 AM.
1) Glad to help.
2 & 3) Find it here: http://msdn.microsoft.com/library/de...ndowsForms.asp
I'm fairly sure that's where I found it anyway, I just ran a search on msdn for it.
It took me a long time to find that information, no one seemed to want to tell.
Also you can access the default manifestation (or whatever) using your resource file and a simple function call if I remember correctly.. adding a control manifest is just simple :P