Good day everyone.
I know how to set a wallpaper declaring
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
public static extern int SystemParametersInfo(int uAction, int uParam, string lpvParam, int fuWinIni);
and then using
SystemParametersInfo(0x0014, 0, file, 0x01 | 0x02);
but this sets the wallpaper, the same wallpaper on all the screens.
Is there any way to select which screen I want to update?
I sueggest you to read that article, to understand how the background works with double monitor. You not need to put 2 image in 2 diffente monitors but you need to create one that contains both images and put as backgroud.
An extract of the article linked: