|
Prev: Free memory after SHBrowseForFolder?
Next: Can't launch exe on other machines (This application could not start...)
From: deostroll on 23 Jun 2008 02:16 Trying to select one particular font for my application. Checked out the msdn pages for doing such a thing and came across EnumFontFamiliesEx. It says it can list out more than one font depending on the typeface name we give. I am confused as to how I can select "one" font. Moreover I suppose the next function I am supposed to call is the ChooseFont(). But what are the flags I need to set for the choose font struct for this...(I do not want to call the select font dialog box here!). --deostroll
From: Christian ASTOR on 23 Jun 2008 02:47
deostroll wrote: > Trying to select one particular font for my application. Checked out > the msdn pages for doing such a thing and came across > EnumFontFamiliesEx. It says it can list out more than one font > depending on the typeface name we give. I am confused as to how I can > select "one" font. Just fill LOGFONT structure, return 0 in callback and what you want in lParam |