Repository navigation
Answered by
woerheide
May 27, 2026
Replies: 1 comment
0 replies
Answer selected by
woerheide
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I understand the issue now.
The dialog background color comes from the BTNFACE property in the sysmetrics class.
However, if I modify colors in the sysmetrics class and then use the Test button to apply them, my changes have no effect.
I need to first select the .msstyles file that I'm working on by opening a theme in the Windows Personalization screen. When I open a theme that references my .msstyles file, that sets Windows system colors to the values in my .msstyles file's sysmetrics class. After doing that, when I open the Control Preview window, I see the desired dialog background color.