Click to See Complete Forum and Search --> : Poblems with font in CTreeCtrl


nikolas
June 4th, 1999, 12:14 PM
I'm expiriencing some troubles while changing font in CTreeCtrl. In VC5 it was all OK, but in VC6, when I change the font, control correcty changes all font attributes but charset (AKA script). No matter what I pass in LOGFONT structure, TreeCtrl always uses western script.
It's the same with ListCtrl. However, when I check the font setting, with for ex. m_TreeCtrl.GetFont(), I see that control correctly accepts all font settings, including the script change, but for some reason it doesn't apply new script, and draws text in default western script.
Anyone knows why?