在BCGControlbar很好用,但是中如果自定义字体的话比较难看
注意菜单好像饱受压迫的一样,郁闷,在mainfrm中的oncreate中加入
LOGFONT lf; //lf定义字体属性
lf.lfOutPrecision= OUT_STROKE_PRECIS;
lf.lfClipPrecision= CLIP_STROKE_PRECIS;
lf.lfQuality = DRAFT_QUALITY;
lf.lfPitchAndFamily= VARIABLE_PITCH|FF_MODERN;
lf.lfHeight = 12;
lf.lfWidth = 0;
lf.lfEscapement = 0;
lf.lfOrientation = 0;
lf.lfWeight = FW_HEAVY;
lf.lfItalic = FALSE;
lf.lfUnderline = FALSE;
lf.lfStrikeOut = FALSE;
lf.lfCharSet = GB2312_CHARSET; strcpy(lf.lfFaceName,"宋体");
m_wndMenuBar.SetMenuFont(&lf,TRUE);
结果还是比较满意,嘿嘿