怎样更改XP系统主题?

xwylpsy 2011-01-05 11:36:48
怎样用VB代码去更换系统主题?
...全文
231 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
贝隆 2011-01-06
  • 打赏
  • 举报
回复
的确是一个好办法
ahljxwy 2011-01-05
  • 打赏
  • 举报
回复
rundll32.exe shell32.dll,Control_RunDLL desk.cpl desk,@Appearance /Action:OpenMSTheme /file:"d:\VistaCG.msstyles" -yes

rundll32 desk.cpl,DeskSetCurrentScheme

使用COM:ThemeManager 的IThemeManagerDisp

或者用LoadLibrary加载desk.cpl的DeskSetCurrentScheme函数。
DeskSetCurrentSchemeA(LPCSTR LpSchemeName)

无·法 2011-01-05
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 ahljxwy 的回复:]

rundll32.exe shell32.dll,Control_RunDLL desk.cpl desk,@Appearance /Action:OpenMSTheme /file:"d:\VistaCG.msstyles" -yes

rundll32 desk.cpl,DeskSetCurrentScheme

使用COM:ThemeManager 的IThemeManager……
[/Quote]学习了。楼上,通过shell调用。
xwylpsy 2011-01-05
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 ahljxwy 的回复:]
rundll32.exe shell32.dll,Control_RunDLL desk.cpl desk,@Appearance /Action:OpenMSTheme /file:"d:\VistaCG.msstyles" -yes

rundll32 desk.cpl,DeskSetCurrentScheme

使用COM:ThemeManager 的IThemeManagerDis……
[/Quote]
看不明白,能不能具体点?

7,763

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧