Font in Edit Control
-
Anybody knows how to change font in edit control. i tried to create a font in following way, CFont l_font; l_font.CreateFont(20, 10, 0, 0, FW_NORMAL,FALSE, FALSE, FALSE, 0, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_ROMAN, "Times New Roman"); edit->SetFont(&l_font); But no matter how i set the height "20" value, the characters in the edit control height do not change. What i want is to make the characters big enough to fit the big edit control i created. thanks in advance~
-
Anybody knows how to change font in edit control. i tried to create a font in following way, CFont l_font; l_font.CreateFont(20, 10, 0, 0, FW_NORMAL,FALSE, FALSE, FALSE, 0, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_ROMAN, "Times New Roman"); edit->SetFont(&l_font); But no matter how i set the height "20" value, the characters in the edit control height do not change. What i want is to make the characters big enough to fit the big edit control i created. thanks in advance~