CFontDialog   fd;   
CFont         font;
         LOGFONT       m_lf; 
this->GetFont()->GetLogFont(&m_lf);      //得到树控件的逻辑字体
fd.m_cf.rgbColors = this->GetTextColor();//得到树控件的字体颜色
fd.m_cf.lStructSize = sizeof(CHOOSEFONT);   
fd.m_cf.Flags      |= CF_INITTOLOGFONTSTRUCT;   
fd.m_cf.lpLogFont   = &m_lf;   
fd.m_cf.hwndOwner   = m_hWnd;    if(fd.DoModal() == IDOK){   
m_lf = *fd.m_cf.lpLogFont;   

font.CreateFontIndirect(&m_lf);
SetFont(&font);
this->SetTextColor(fd.m_cf.rgbColors);
}
CFontDialog可以显示树当前的字体和颜色等信息,什么也不重新设置,点确定,树字体完全不是开始的样子,什么回事,高手请说说,谢谢1