Set Button / Edit box font
hey...is there any "easy way" to set the fonts in my program? i want Microsoft Sans Serif, 10pt font for the controls. i found this in another post on here:
Code:
// Default font for button
void SetDefaultFont( HWND hWnd, int identifier ){
SendDlgItemMessage(hWnd, identifier, WM_SETFONT,
(WPARAM)GetStockObject(DEFAULT_GUI_FONT), MAKELPARAM(TRUE, 0));
but i dont want the default font :) and i know you can create a font but thats quite a bit of code (at least it was when i did it) so yea - is the only way to create a font and then set it using that font? thanks