Run ("RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters") DllCall("user32.dll","int","SendMessageTimeout","hwnd",65535,"int",26,"int",0,"int",0,"int",0,"int",1000,"str","dwResult") DllCall("user32", "int", "SystemParametersInfo", "int", 20, "int", 1, "str", $bmpFile, "int", 1)
修改桌面壁纸----jpg格式的,不用重起生效。
举报
1,使用GDI+把JPG转换为BMP.(系统设置壁纸也是先转换的) 2.设置BMP为壁纸. thesnow 发表于 2009-4-28 18:44
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-4-21 08:09 , Processed in 0.118221 second(s), 20 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.