Click to See Complete Forum and Search --> : Increase listbox font size


rafiki
June 10th, 1999, 05:49 PM
Ppl what i'm doing wrong? I am trying to increase font size of listbox.

CFont* temp1, temp2;
LOGFONT lf;
temp1 = m_Listbox.GetFont();
temp1->GetLogFont(&lf);
lf.lfHeight = lf.lfHeight + 10;
temp2.CreateFontIndirect(&lf);
m_Listbox.SetFont(&temp2);



font size does not increase and more....it changes to some another font ...
thank you for attension