【发布时间】:2019-05-03 08:53:00
【问题描述】:
大家好。
我知道如何设置壁纸声明
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
public static extern int SystemParametersInfo(int uAction, int uParam, string lpvParam, int fuWinIni);
然后使用
SystemParametersInfo(0x0014, 0, file, 0x01 | 0x02);
但这会设置壁纸,所有屏幕上的壁纸都相同。
有什么方法可以选择我要更新的屏幕吗?
【问题讨论】:
标签: c# windows wallpaper multiscreen