vb6.0问题 被选中iamge图片怎么在点击command后应用到桌面背景上?
发布网友
发布时间:2024-07-07 09:49
我来回答
共1个回答
热心网友
时间:2024-08-14 17:36
把图片加载到picturebox
Private 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
Private Sub Command_Click()
SavePicture Picture1.Image, "d:\picture1.bmp"
SystemParametersInfo 20, True, "d:\picture1.bmp", 1
End Sub