Taskbar Color Reverts When Changing Color Using SetWindowCompositionAttribute in WinUI3
I am encountering an issue with the taskbar color on Windows. When I change the taskbar color using the SetWindowCompositionAttribute
method, the color initially changes as expected. However, as soon as I click the ‘Start’ button, the taskbar color reverts to the default color specified by the Windows settings.
Changing Taskbar (Shell_TrayWnd) Color to Transparent
I found a way to change color to fully transparent, by researching structure of DesktopWindowXamlSource of Taskbar (Shell_TrayWnd).