CFont *pFont = new CFont;
LOGFONT logfont;
memset(&logfont, 0, sizeof(LOGFONT));
logfont.lfWeight = FW_NORMAL; //600 FW_SEMIBOLD
logfont.lfHeight = -13;
lstrcpy(logfont.lfFaceName, _T("宋体"));
pFont->CreateFontIndirect(&logfont);
m_Tree->SetFont(pFont, NULL);
m_Tree->SetTextColor(RGB(235, 115, 0));
【MFC控件设置字体】
最新推荐文章于 2024-09-25 21:13:24 发布
478

被折叠的 条评论
为什么被折叠?



