Fix subitem background color in full row select.

oldstable
Dimitrie O. Paun 2002-10-25 03:17:36 +00:00 committed by Alexandre Julliard
parent b14c82a8b8
commit ab97b86902
1 changed files with 4 additions and 0 deletions

View File

@ -3441,6 +3441,10 @@ static BOOL LISTVIEW_DrawItem(LISTVIEW_INFO *infoPtr, HDC hdc, INT nItem, INT nS
nmlvcd.clrText = comctl32_color.clrBtnText;
}
}
/* in full row select, subitems, will just use main item's colors */
if (nSubItem && uView == LVS_REPORT && (infoPtr->dwLvExStyle & LVS_EX_FULLROWSELECT))
nmlvcd.clrTextBk = CLR_NONE;
/* state icons */
if (infoPtr->himlState && !IsRectEmpty(&rcState))