Lines Matching refs:pLVCD
2499 bool HandleSubItemPrepaint(LPNMLVCUSTOMDRAW pLVCD, HFONT hfont, int colCount)
2501 NMCUSTOMDRAW& nmcd = pLVCD->nmcd;
2505 const int col = pLVCD->iSubItem;
2610 // pLVCD->clrText and clrTextBk should contain the colours to use
2611 static void HandleItemPaint(LPNMLVCUSTOMDRAW pLVCD, HFONT hfont)
2613 NMCUSTOMDRAW& nmcd = pLVCD->nmcd; // just a shortcut
2667 pLVCD->clrText = ::GetSysColor(syscolFg);
2668 pLVCD->clrTextBk = ::GetSysColor(syscolBg);
2670 //else: not selected, use normal colours from pLVCD
2675 ::SetTextColor(hdc, pLVCD->clrText);
2676 ::FillRect(hdc, &rc, AutoHBRUSH(pLVCD->clrTextBk));
2683 pLVCD->iSubItem = col;
2684 HandleSubItemPrepaint(pLVCD, hfont, colCount);
2691 LPNMLVCUSTOMDRAW pLVCD,
2702 pLVCD->clrText = attr->HasTextColour()
2705 pLVCD->clrTextBk = attr->HasBackgroundColour()
2719 HandleItemPaint(pLVCD, GetHfontOf(font));
2723 ::SelectObject(pLVCD->nmcd.hdc, GetHfontOf(font));
2733 LPNMLVCUSTOMDRAW pLVCD = (LPNMLVCUSTOMDRAW)lParam;
2734 NMCUSTOMDRAW& nmcd = pLVCD->nmcd;
2755 return HandleItemPrepaint(this, pLVCD, DoGetItemAttr(item));