I'm trying to change my font to "Verdana" using a LOGFONT stuct, how can I do this?
Printable View
I'm trying to change my font to "Verdana" using a LOGFONT stuct, how can I do this?
Hey,
I'm not exactly sure what a "LOGFONT" struct is... but I did make a sample app a while back when I was learning that delt with fonts. I attached it, but it's kinda big. Well, we will see if it goes through!
Best of luck,
~ Selevercin
The easier way to create a font is CFont::CreatePointFont() where you only need to pass the size (multiplied by 10) and name. LOGFONT is useful if you have to specify all these bold, italic, underline etc. parameters.