Is there a way to change a control's font?
Both size, and the font itself.
Thanks.
Printable View
Is there a way to change a control's font?
Both size, and the font itself.
Thanks.
WM_SETFONT to change the font.
CreateFont or CreateFontIndirect to create a font (gdi) object. GetStockObject will return a couple of system fonts.
For all fonts you create remember to use DeleteObject when you are finished with them. You don't have to use DeletObject on fonts returned from GetStockObject because they are shared, system resources.