[ros-diffs] [gadamopoulos] 53194: [uxtheme] - Send WM_THEMECHANGED when theme hooks are removed and there is an active theme
gadamopoulos at svn.reactos.org
gadamopoulos at svn.reactos.org
Fri Aug 12 10:21:11 UTC 2011
Author: gadamopoulos
Date: Fri Aug 12 10:21:10 2011
New Revision: 53194
URL: http://svn.reactos.org/svn/reactos?rev=53194&view=rev
Log:
[uxtheme]
- Send WM_THEMECHANGED when theme hooks are removed and there is an active theme
Modified:
branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c
Modified: branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c
URL: http://svn.reactos.org/svn/reactos/branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c?rev=53194&r1=53193&r2=53194&view=diff
==============================================================================
--- branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c [iso-8859-1] (original)
+++ branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c [iso-8859-1] Fri Aug 12 10:21:10 2011
@@ -183,5 +183,12 @@
BOOL WINAPI
ThemeHooksRemove()
{
- return UnregisterUserApiHook();
-}
+ BOOL ret;
+
+ ret = UnregisterUserApiHook();
+
+ if(IsThemeActive())
+ UXTHEME_broadcast_msg (NULL, WM_THEMECHANGED);
+
+ return ret;
+}
More information about the Ros-diffs
mailing list