MScholtes / VirtualDesktop

C# command line tool to manage virtual desktops in Windows 10
MIT License
606 stars 60 forks source link

Desktop wallpaper #88

Closed kuitog closed 2 months ago

kuitog commented 3 months ago

Can't figure out how to set a desktop wallpaper with a solid color. (Or in alternative with an image)

The SetDesktopWallpaper function is not documented.

thanks

MScholtes commented 3 months ago

Hello @kuitog,

I guess your question is not about a parameter to Virtualdesktop but about the underlying Windows API.

Micrsosoft does not document the APIs to virtual desktops and - even worse - changes them very often. It is very tedious to find out how it works. As far as I know there is no way to set colours for virtual desktops, To learn the way to set wallpapers for different virtual desktops you have to analyse this repository or the variety of similiar repositories,

Greetings

Markus

MScholtes commented 2 months ago

I assume that the issue no longer exists as there is no feedback.