https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3f54e0e504640028a09e3…
commit 3f54e0e504640028a09e3ea0c1034d083ef012d1
Author: Whindmar Saksit <whindsaks(a)proton.me>
AuthorDate: Sat Aug 31 22:10:35 2024 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Aug 31 22:10:35 2024 +0200
[RAPPS] Fix AppInfo panel WM_SYSCOLORCHANGE bug (#7290)
---
base/applications/rapps/appview.cpp | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/base/applications/rapps/appview.cpp b/base/applications/rapps/appview.cpp
index a173d9530ac..e16c0929a92 100644
--- a/base/applications/rapps/appview.cpp
+++ b/base/applications/rapps/appview.cpp
@@ -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);
}