Enhance uxtheme to store the themed system metrics in the registry and
commit0f94e03b4013b42246c7df6ba5e8c6c6a8985fcd
authorFrank Richter <frank.richter@gmail.com>
Fri, 12 Aug 2005 15:51:13 +0000 (12 15:51 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 12 Aug 2005 15:51:13 +0000 (12 15:51 +0000)
tree8eef5393316d77ef24295013152ba2b0d8d0a5a0
parentd4441f2817f647bcf78d344b6b285a3977da7adc
Enhance uxtheme to store the themed system metrics in the registry and
also backup the old metrics. That way, themed system colors are set
even uxtheme was not loaded and initialized yet, and when a theme is
deactivated, the colors prior to the activation are restored as well.
Also, not having to set the system colors in uxtheme startup works
around weird problems where SetSystemColors() ended up being called
from inside window creation and this seemingly led to some creation
message being sent twice.
dlls/uxtheme/msstyles.c
dlls/uxtheme/msstyles.h
dlls/uxtheme/system.c