20 #include "../../../idlib/precompiled.h"
24 #include "../../../sys/win32/rc/proptree_Resource.h"
30 static char THIS_FILE[] = __FILE__;
67 dc.SelectObject(GetSysColorBrush(COLOR_BTNFACE));
68 dc.PatBlt(rc.left, rc.top, rc.Width(), rc.Height(), PATCOPY);
70 dc.DrawEdge(&rc, BDR_SUNKENOUTER, BF_RECT);
77 if (!
m_pProp->IsWindowEnabled())
78 dc.SetTextColor(GetSysColor(COLOR_GRAYTEXT));
80 dc.SetTextColor(GetSysColor(COLOR_BTNTEXT));
82 dc.SetBkMode(TRANSPARENT);
96 dc.DrawText(txt, &ir, DT_SINGLELINE|DT_CALCRECT);
97 dc.DrawText(txt, &ir, DT_SINGLELINE);
100 ir.bottom = rc.bottom;
109 dc.DrawText(txt, &ir, DT_WORDBREAK);
static CFont * GetNormalFont()
static CFont * GetBoldFont()
CPropTreeItem * GetFocusedItem()