Anatoly Lyutin vostok@etersoft.ru writes:
@@ -1633,7 +1633,7 @@ TAB_DrawItemInterior(const TAB_INFO *inf SetTextColor(hdc, (((lStyle & TCS_HOTTRACK) && (iItem == infoPtr->iHotTracked) && !(lStyle & TCS_FLATBUTTONS)) | (TAB_GetItem(infoPtr, iItem)->dwState & TCIS_HIGHLIGHTED)) ?
comctl32_color.clrHighlight : comctl32_color.clrBtnText);
comctl32_color.clrHotTrackingColor : comctl32_color.clrBtnText);
Shouldn't you distinguish between TCS_HOTTRACK and TCIS_HIGHLIGHTED here?