win7 资源管理器的背景色修改

时间:2023-03-08 16:20:41

主要参考 http://blog.sina.com.cn/s/blog_49c182c20100w3nb.html

win7 通过dll修改背景色
首先找到这个文件
C:\Windows\Resources\Themes\Aero\Shell\NormalColor\shellstyle.dll
更改权限
参考 http://blog.sina.com.cn/s/blog_49c182c20100w3nb.html

下载dll编辑器Restorator 2007
http://www.onlinedown.net/softdown/26327_2.htm

总的制作流程 也是参考 http://blog.sina.com.cn/s/blog_49c182c20100w3nb.html

好吧 我们先说说 win7 下更改权限=======================
右击文件----属性-----安全标签页
首先会看到 组或用户名 下面是这个组(某一类用户)的权限 点击组或用户名下面的 编辑 就可以更改权限
如果想要更改这个文件的所有者 就点下面的 高级 ----所有者标签页------然后再点编辑才能改(明明都显示出来了 却不能修改 windows不仅是不人性化 根本就是不人道!)

通过Restorator 2007 来查看dll中的内容
打开C:\Windows\Resources\Themes\Aero\Shell\NormalColor\shellstyle.dll
然后将右边窗体中的文字复制到一个文本文件中

搜索<if id="atom(clientviewhost)">
将接下来的background sortcolumn内容改为自己喜欢的颜色

<ViewHost
foreground="themeable(ARGB(255, ??, ??, ??), windowtext)"——文件名文字颜色,这里不动
background="themeable(ARGB(255, ??, ??, ??), window)" ------背景颜色,修改为自己需要的颜色
sortcolumn="themeable(ARGB(255, ??, ??, ??), window)" -------背景颜色,修改为自己需要的颜色
subtext="ARGB(255, 139, 139, 139)"
animation="rectangle|s|fast"
/>

总共有大概7处的<if id="atom(clientviewhost)">,全部按上面类似的替换掉

之后是修改左边目录树背景色
搜索<style resid="propertreestyle">,这里总数有34处,只需修改第一个位置的内容
将紧随其后的内容background部分改为自己喜欢的颜色
<style resid="propertreestyle">
<ProperTreeModule
background="themeable(argb(255, ??, ??, ??),window)"
foreground="themeable(gtc(TooltipStyle, 2, 0, 3803), windowtext)"
/>

<ProperTreeHost
font="IconFont"
background="themeable(argb(255, ??, ??, ??),window)"
foreground="windowtext"
/>

<if id="atom(ProperTreeLinksHeader)">
<Element
foreground="themeable(gtc(Button, 1, 4, 3803), windowtext)"
background="themeable(argb(255, ??, ??, ??),window)"    -------这一处也要修改
padding="rect(9rp,9rp,0rp,7rp)"
font="gtf(textstyle, 4, 0)"

保存这个文件

最后在UIFILE下的1 点右键[不是UIFILE右键],选择导入,把刚刚修改过的TXT文件导入,然后保存就OK了【一定要保存】。
最后重启!