答案 0 :(得分:0)
以下是示例:
CFont* pFont = _ed.GetFont();
LOGFONT LogFont;
pFont->GetLogFont(&LogFont);
CFont* NewFont = new CFont();
// lstrcpy( LogFont.lfFaceName, _T("Times New Roman CE" ));
LogFont.lfHeight = 8;
NewFont->CreateFontIndirect(&LogFont);
_ed.SetFont(NewFont );