今天看改鍵助手的界面太難看,就想換成xp默認(rèn)風(fēng)格,方法如下。
manifest文件內(nèi)容,將這個(gè)manifest文件命名為Exe名+.manifest, 如test.exe.manifest
然后用mt.exe綁定 (mt.exe是VS自帶的一個(gè)工具??梢运阉飨?。)
Mt.exe –mainfest test.exe.manifest –outputresource:test.exe;1
1是這個(gè)manifest資源的ID.可以有多個(gè)manifest資源,但是vista默認(rèn)使用1。其他的要自己編碼來(lái)玩。
manifest文件內(nèi)容,將這個(gè)manifest文件命名為Exe名+.manifest, 如test.exe.manifest
1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
3
<assemblyIdentity
4
name="XP style manifest"
5
processorArchitecture="x86"
6
version="1.0.0.0"
7
type="win32"/>
8
<dependency>
9
<dependentAssembly>
10
<assemblyIdentity
11
type="win32"
12
name="Microsoft.Windows.Common-Controls"
13
version="6.0.0.0"
14
processorArchitecture="x86"
15
publicKeyToken="6595b64144ccf1df"
16
language="*"
17
/>
18
</dependentAssembly>
19
</dependency>
20
</assembly>

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

然后用mt.exe綁定 (mt.exe是VS自帶的一個(gè)工具??梢运阉飨?。)
Mt.exe –mainfest test.exe.manifest –outputresource:test.exe;1
1是這個(gè)manifest資源的ID.可以有多個(gè)manifest資源,但是vista默認(rèn)使用1。其他的要自己編碼來(lái)玩。
posted on 2009-11-19 10:16 Pencil.C++ 閱讀(467) 評(píng)論(0) 編輯 收藏 引用 所屬分類: 數(shù)據(jù)結(jié)構(gòu)與算法 、VC