Hi, I want to very simply give a specific control a specific font when creating a GUI. For example, I would like a multiline edit text control to have a courier new font. I have been searching for hours and can't really make much sense of what I am looking at with things such as CreateFontEx() and EnumFontFamilyEx() etc. I first had the idea of setting the font to a control using the SendMessage() API and specifying a HFONT object as a parameter, but actually getting the font itself is what is difficult.
I know that I could use GetStockObject(DEFAULT_GUI_FONT) or something along those lines but thats not what I want.

Any suggestions or tutorials to look out for?

Thanks in advance.

11 Years
Discussion Span
Last Post by WolfPack
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.