LOGFONT logfont; GetObject(::GetStockObject(DEFAULT_GUI_FONT),sizeof(logfont),&logfont); logfont.lfCharSet=GB2312_CHARSET; logfont.lfWeight = FW_NORMAL; logfont.lfHeight = 24; lstrcpy(logfont.lfFaceName, _T("微软雅黑")); static CFont sfontStatusBar; sfontStatusBar.CreateFontIndirect(&logfont); m_tree.SetFont(&sfontStatusBar);