mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[SHELL32] Fix explorer file item label background CORE-15937
This commit is contained in:
@@ -633,19 +633,16 @@ void CDefView::UpdateListColors()
|
||||
else
|
||||
{
|
||||
// text background color
|
||||
COLORREF clrTextBack = GetSysColor(COLOR_WINDOW);
|
||||
if (m_viewinfo_data.clrTextBack != CLR_INVALID)
|
||||
{
|
||||
clrTextBack = m_viewinfo_data.clrTextBack;
|
||||
}
|
||||
COLORREF clrTextBack = m_viewinfo_data.clrTextBack;
|
||||
m_ListView.SetTextBkColor(clrTextBack);
|
||||
|
||||
// text color
|
||||
COLORREF clrText = GetSysColor(COLOR_WINDOWTEXT);
|
||||
COLORREF clrText;
|
||||
if (m_viewinfo_data.clrText != CLR_INVALID)
|
||||
{
|
||||
clrText = m_viewinfo_data.clrText;
|
||||
}
|
||||
else
|
||||
clrText = GetSysColor(COLOR_WINDOWTEXT);
|
||||
|
||||
m_ListView.SetTextColor(clrText);
|
||||
|
||||
// Background is painted by the parent via WM_PRINTCLIENT.
|
||||
|
||||
Reference in New Issue
Block a user