Author: gadamopoulos
Date: Sun Mar 15 13:39:15 2015
New Revision: 66723
URL:
http://svn.reactos.org/svn/reactos?rev=66723&view=rev
Log:
[UXTHEME]
- Call DrawCaption in user32 when we get WM_NCUAHDRAWCAPTION and there is no active
theme.
- Should finally fix CORE-9016.
Modified:
trunk/reactos/dll/win32/uxtheme/themehooks.c
Modified: trunk/reactos/dll/win32/uxtheme/themehooks.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/themehoo…
==============================================================================
--- trunk/reactos/dll/win32/uxtheme/themehooks.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/uxtheme/themehooks.c [iso-8859-1] Sun Mar 15 13:39:15 2015
@@ -186,6 +186,12 @@
{
if(!IsAppThemed())
{
+ if (Msg == WM_NCUAHDRAWCAPTION)
+ {
+ user32ApiHook.DrawCaption(hWnd, NULL, NULL, 0);
+ return 0;
+ }
+
return user32ApiHook.DefWindowProcW(hWnd,
Msg,
wParam,
@@ -204,6 +210,12 @@
{
if(!IsAppThemed())
{
+ if (Msg == WM_NCUAHDRAWCAPTION)
+ {
+ user32ApiHook.DrawCaption(hWnd, NULL, NULL, 0);
+ return 0;
+ }
+
return user32ApiHook.DefWindowProcA(hWnd,
Msg,
wParam,