研发埠

标题: 如何利用API函数改变Windows桌面背景? [打印本页]

作者: 张志强    时间: 2013-7-2 13:35
标题: 如何利用API函数改变Windows桌面背景?

作者: 淡写轻描    时间: 2013-7-2 13:40
*API函数声明Const SPI_SETDESKWALLPAPER = 20 Const SPIF_UPDATEINIFILE = &H1 Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long 注释:调用Call SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, "C:windowsClouds.bmp", SPIF_UPDATEINIFILE)




欢迎光临 研发埠 (http://bbs.yanfabu.com/) Powered by Discuz! X3.2