Commit Graph

23 Commits

Author SHA1 Message Date
Frank Richter fcb8a2f859 Compare result of RegQueryValueExW() with ERROR_SUCCESS. 2005-08-15 10:23:48 +00:00
Frank Richter 0f94e03b40 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.
2005-08-12 15:51:13 +00:00
Frank Richter 100923508c OpenThemeData() now always sets the window theme to the handle
returned (even if that is NULL) - previously, it could happen that
when no theme was active or the theme data could not be opened that
the window theme remained became then-dangling (and hence subsequent
calls to GetWindowTheme() would return that bogus theme).
2005-07-24 17:11:05 +00:00
Frank Richter 5bb8f968f6 Make dialog theme texture setting non-global (ie a per-window
setting).
2005-07-15 16:32:37 +00:00
Frank Richter 0bd04866e8 Don't crash if NULL is passed as the class list to OpenThemeData(). 2005-07-12 16:59:20 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Frank Richter 6212477ea4 Every window needs to receive WM_THEMECHANGED (esp. controls), so also
send it to child windows.
2005-07-06 10:32:30 +00:00
Frank Richter 72d6a98469 Write WCHAR strings to registry with correct size. 2005-07-05 10:57:17 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Kevin Koltzau 399842b136 Fix crash when no theme is set and application ignores errors. 2004-11-09 20:02:39 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Kevin Koltzau 352cddae6b Implement CheckThemeSignature. 2004-04-07 18:59:23 +00:00
Kevin Koltzau 549853175e Implemented EnumThemes. 2004-04-05 20:12:38 +00:00
Kevin Koltzau 0fd8e51365 Corrected method of creating registry keys, both to fix an issue where
they were not created and to act more like Windows.
2004-02-17 21:03:33 +00:00
Kevin Koltzau f28552b3d3 Keep track of theme filename within THEME_FILE. 2004-02-17 20:22:27 +00:00
Kevin Koltzau c31cae0f7e Load properties from the theme ini.
Implemented most of the GetTheme* functions.
2004-01-23 04:34:02 +00:00
Kevin Koltzau 5e8a34f163 Full implementation of OpenThemeData, CloseThemeData, and
IsThemePartDefined
Export undocumented functions by ordinal only (to match Microsoft's
uxtheme).
2004-01-19 21:52:09 +00:00
Kevin Koltzau e04ff33417 Add INI file processing.
Full implementation of GetThemeDocumentationProperty.
Define string maps for parsing INI files into useable form.
Implemented (undocumented) ApplyTheme to select current theme.
2004-01-16 21:25:25 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Kevin Koltzau d2c4cf14f8 Load, validate and retrieve a few properties from an msstyles theme. 2003-12-08 22:45:26 +00:00
Kevin Koltzau 40f3056598 Added stubs for all functions. 2003-12-04 20:55:30 +00:00