[RAPPS] Fix AppInfo panel WM_SYSCOLORCHANGE bug (#7290)

This commit is contained in:
Whindmar Saksit 2024-08-31 22:10:35 +02:00 committed by GitHub
parent 633d2e6d0c
commit 3f54e0e504
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -792,6 +792,11 @@ CAppInfoDisplay::ProcessWindowMessage(
}
break;
}
case WM_SYSCOLORCHANGE:
{
RichEdit->SendMessageW(EM_SETBKGNDCOLOR, 0, GetSysColor(COLOR_BTNFACE));
break;
}
}
return FALSE;
@ -1587,7 +1592,7 @@ CApplicationView::ProcessWindowMessage(
{
/* Forward WM_SYSCOLORCHANGE to common controls */
m_ListView->SendMessageW(WM_SYSCOLORCHANGE, wParam, lParam);
m_ListView->SendMessageW(EM_SETBKGNDCOLOR, 0, GetSysColor(COLOR_BTNFACE));
m_AppsInfo->SendMessageW(WM_SYSCOLORCHANGE, wParam, lParam);
m_Toolbar->SendMessageW(WM_SYSCOLORCHANGE, wParam, lParam);
m_ComboBox->SendMessageW(WM_SYSCOLORCHANGE, wParam, lParam);
}