mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00
[UXTHEME]
- Call DrawCaption in user32 when we get WM_NCUAHDRAWCAPTION and there is no active theme. - Should finally fix CORE-9016. svn path=/trunk/; revision=66723
This commit is contained in:
parent
387fa04f75
commit
c179b87a32
1 changed files with 12 additions and 0 deletions
|
@ -186,6 +186,12 @@ ThemeDefWindowProcW(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
if(!IsAppThemed())
|
||||
{
|
||||
if (Msg == WM_NCUAHDRAWCAPTION)
|
||||
{
|
||||
user32ApiHook.DrawCaption(hWnd, NULL, NULL, 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
return user32ApiHook.DefWindowProcW(hWnd,
|
||||
Msg,
|
||||
wParam,
|
||||
|
@ -204,6 +210,12 @@ ThemeDefWindowProcA(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
if(!IsAppThemed())
|
||||
{
|
||||
if (Msg == WM_NCUAHDRAWCAPTION)
|
||||
{
|
||||
user32ApiHook.DrawCaption(hWnd, NULL, NULL, 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
return user32ApiHook.DefWindowProcA(hWnd,
|
||||
Msg,
|
||||
wParam,
|
||||
|
|
Loading…
Reference in a new issue