大家帮忙指点下,错哪了,关于systemparametersinfo
模块部分:
Public Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByRef lpvParam As Any, ByVal fuWinIni As Long) As Long
Public Const SPI_SETDESKWALLPAPER = 20
窗体部分:
Private Sub Command1_Click()
SystemParametersInfo SPI_SETDESKWALLPAPER, 0, "d:\1.bmp", 0
End Sub
现在保证图片路径无误,可是为什么点击按钮就是没反应???
[此贴子已经被作者于2007-10-3 19:19:30编辑过]