You'll want this: How to do Windows XP Themes!!!

Archives Forums/Win32 Discussion/You'll want this: How to do Windows XP Themes!!!

Picklesworth(Posted 2005) [#1]
This is so incredibly easy that it scares me.
I'm using WinBlitz3d to do my new GUI for APE.
I decided that the program looked a tad ugly as it was, so I thought to add windows XP themesupport. I googled it, and almost lost hope thinking it's a C thing. Incredibly, it's probably the easiest feature I've ever added to a program. I didn't even have to touch an IDE!


First, read this article:
http://www.developer.com/net/vb/article.php/3101831

Now, you don't have to follow the import resource, etc. steps in there (obviously Blitz3d doesn't have those feature anyway)

Just compile, and then create the myProgram.exe.manifest file, and run :D
All I can say is... Wow.




There seems to be some glitching around the Edit button (my only button so far), but hey -- something so easy to setup deserves my time :D
I think it's because I haven't yet checked out this flatStyle property.


I haven't tested this with BlitzPlus because I don't own it, but it works without a doubt. (If it doesn't support XP themes already)


VIP3R(Posted 2005) [#2]
http://www.blitzmax.com/Community/posts.php?topic=31503

I take it you missed it Pickles ;)

[edit] Actually if you don't own B+, how would you have noticed it :P


Picklesworth(Posted 2005) [#3]
Ah well, it's worth it to post anyway. If it was in only the B+ forum, people wouldn't realize it works everywhere.



Wonderful stuff though.
Easiest Windows feature to date.


VIP3R(Posted 2005) [#4]
Absolutely ;)

I'm amazed more people aren't taking advantage of this feature and not just in the Blitz community.

You can also add the manifest to the exe using ResourseHacker, no need for the manifest files then.


Uncle Ho(Posted 2005) [#5]
@VIP3R

hm.. very nice. but how do i add the manifest file to the exe in ResourceHacker?
i tried it, but it didn't work.
what type and name do i have to use when i add the resource?


Picklesworth(Posted 2005) [#6]
[Never mind this misleading "information"]


VIP3R(Posted 2005) [#7]
Uncle Ho, here is how you add it to the exe with Resource Hacker...

Open the exe in ResHacker

Select Action>Add a new resource

Now select your manifest file

Use the following settings...

Resource Type: 24
Resource Name: 1
Resource Language: 1033

Save the exe

Voila, the exe will no longer need a separate manifest file :)