Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Change old UI looks to native visual style look., just add a small text file.

views
     
TS1024kbps
post Aug 20 2007, 07:38 PM, updated 18y ago

李素裳
*******
Senior Member
6,015 posts

Joined: Feb 2007



i hope this is not a repost tongue.gif
What u need to do is, save the following text to "yourapps.exe.manifest"
remember file extension must be .manifest ,else the windows UI will not change to native xp style UI.

CODE
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="VirtualDub.exe" type="win32" />
<description>WindowsExecutable</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" />
</dependentAssembly>
</dependency>
</assembly>


then put it to any programs thats dun have native xp style UI, eg virtualdub.
the manifest file name must same as ur program eg virtualdub.exe.manifest
restart the program and done notworthy.gif
what is manifest file?

here is the example on ffdshow:
before add manifest file, right one is added manifest file.
user posted image user posted image
see the difference? the buttons and progress bar look much better now brows.gif

newer msvc compiler like msvc 2005 and greater will have manifest file embedded into executable,
so there is no need to add manifest file, unless it was specified dont embeding manifest file when compiling the source code.

while all program compiled by gcc and some other compilers, will dont have native visual style, so its require external manifest file, although its still possible to embedding it automatically.

This post has been edited by 1024kbps: Mar 31 2008, 12:38 AM

 

Change to:
| Lo-Fi Version
0.0126sec    0.99    5 queries    GZIP Disabled
Time is now: 19th December 2025 - 10:43 PM