LOGFONT
logfont;//It's better to make class members, global variables, static members CFont *pfont1 = m_List.GetFont(); pfont1->GetLogFont( &logfont ); logfont.lfHeight =logfont.lfHeight * 3; //You can modify it here The height ratio of the font logfont.lfWidth = logfont.lfWidth * 3; //Here you can modify the width ratio of the font static CFont font1; font1.CreateFontIndirect(&logfont); m_List.SetFont(&font1);
font1.Detach();
Reprinted from: http://blog.csdn.net/syytem004/article/details/46712253