Hello!
I want to change size of fonts of my CDialogBar controls.
I tried this way :

// changing Dialog Bar fonts
CFont font;
int nFontSize = 300; // in tenth of point - so sizi should be 30 pts.
CString strFontFace = "Times New Roman";
font.CreatePointFont(nFontSize, strFontFace, m_wndDlgBar.GetDC());

m_wndDlgBar.GetDlgItem(IDC_SOME_ITEM)->SetFont(&font);
m_wndPriceBar.GetDlgItem(IDC_SOME_OTHER_ITEM)->SetFont(&font);



But it changes only font face, but not size (nFontSize = 300, 100, 1000 etc. makes same size). Where is my mistake?

Thank you ahead
Moshe Levin