I am aware that with ctypes.windll.user32.SystemParametersInfoW(20, 0, pathToImage, 3)
I can change the wallpaper image and by setting the pathToImage
to an empty string I would effectively have no image as wallpaper, thus I will see the solid background color.
My question is, How to change the solid background color?
Edit #1
Further investigating the Windows API. I found IDesktopWallpaper setbackgroundcolor() method which sounds like something that I need. However, I am not aware how to call/use it via python or command line.