//设置标题字体
CFont *pFont = m_name.GetFont();
LOGFONT pLogFont;
//TRACE( "Font:%p/n ",pFont);
pFont-> GetLogFont(&pLogFont);
LOGFONT lf;
memset(&lf, 0, sizeof(LOGFONT));
lf.lfHeight =pLogFont.lfHeight*2;
lf.lfCharSet=pLogFont.lfCharSet;
//strcpy((char*)(LPWTRSTR)lf.lfFaceName,(char*)(LPWTRSTR)pLogFont.lfFaceName);
lstrcpy(/*(LPSTR)*/lf.lfFaceName/*LogFont.lfFaceName*/,(LPCWSTR)"黑体"/*"楷体_GB2312"*/);
lf.lfWeight=700;
lf.lfWidth=12;
lf.lfHeight=30;
CFont *pNewFont =new CFont;
pNewFont-> CreateFontIndirect(&lf);
m_name.SetFont(pNewFont);
m_name2.SetFont(pNewFont);