jsakhtar
asked on
Changing fonts in listbox & edit controls
I am using MFC to handle a ListBox and an Edit control in my application. When I try to change the font in these controls to "Courier New" the font does not change. Can anyone give me some insight into what may be going on?
Caan you post the code with which you are trying to do this
ASKER
From InitDialog()
CFont font;
font.CreatePointFont(90,
L"Courier New");
m_listbox.SetFont(&font);
CFont font;
font.CreatePointFont(90,
L"Courier New");
m_listbox.SetFont(&font);
ASKER
all I need to do is set the font to a fixed width font
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.