Author Topic: manifest file to use winxp themes  (Read 11458 times)

rem

  • Guest
manifest file to use winxp themes
« on: June 09, 2005, 08:35:52 pm »
How to compile the win32 executable with manifest file, to use winxp themes

Anonymous

  • Guest
manifest file to use winxp themes
« Reply #1 on: June 09, 2005, 08:45:31 pm »
Ok, I know now. You don't have to answer.

Rune Hunter

  • Guest
Re: manifest file to use winxp themes
« Reply #2 on: September 24, 2005, 06:17:22 am »
Well tell me I don't know how, I'm stioll trying to figure out how.

Offline Serge2005

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: manifest file to use winxp themes
« Reply #3 on: September 24, 2005, 10:12:47 am »
I think it goes Plugins->Windows XP look'n'feel
I did it successfully :)  :D
OS: LMDE2-32bit with Xfce

Rune Hunter

  • Guest
Re: manifest file to use winxp themes
« Reply #4 on: September 24, 2005, 04:25:04 pm »
But that doesn't put it into the exe. I need it to go inside the exe so I don't need the manifest file to make it look like xp.

Offline Serge2005

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: manifest file to use winxp themes
« Reply #5 on: September 24, 2005, 06:25:50 pm »
I don't know how do they do it in wxWidgets :)  but in Win32 I did it this way :)
1. Create winxp.manifest file with this code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
  xmlns="urn:schemas-microsoft-com:asm.v1"
  manifestVersion="1.0">
<assemblyIdentity
    name="Sergei_Novik.Apps.tab"
    processorArchitecture="x86"
    version="1.0.0.0"
    type="win32"/>
<description>tab</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="x86"
            publicKeyToken="6595b64144ccf1df"
            language="*"/>
    </dependentAssembly>
</dependency>
</assembly>
2. Then in resource.rc file add this string:
    1 24 "winxp.manifest"
3. Recompile your project
4. After that you can delete your winxp.manifest file, your application will remain with xp style. :)
By the way it isn't good idea insert manifest-file inside exe-file, cause it may bring some compatibility problems I guess.... :))

Cheers!
« Last Edit: September 24, 2005, 06:45:27 pm by Serge_Novik »
OS: LMDE2-32bit with Xfce

Rune Hunter

  • Guest
Re: manifest file to use winxp themes
« Reply #6 on: September 24, 2005, 06:33:03 pm »
Well it only worked for GCC compiler not for the visual c++ toolkit.

Oh well and I also heard it is better to put the manifest file inside the exe. Weird.

sethjackson

  • Guest
Re: manifest file to use winxp themes
« Reply #7 on: September 24, 2005, 09:32:18 pm »
Easiest way to have a manifest is to click plugins->Windows XP Look'n Feel. Recompile and you are ready to go.  :)