I've got a button like this:
Code:
CreateWindowEx(0,
                   "BUTTON",
                   "generuj",
                   WS_CHILD | WS_VISIBLE,
                   55,
                   270,
                   80,
                   20,
                   hWnd,
                   (HMENU)1,
                   g_hInstance,
                   NULL);
and a font like this:
Code:
HFONT fontArial=CreateFont(16,0,0,0,FW_NORMAL,FALSE,FALSE,FALSE,DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS,CLIP_DEFAULT_PRECIS,ANTIALIASED_QUALITY, DEFAULT_PITCH,"arial");
Can anybody tell me how to set this button's caption font to this 'fontArial'? I'm am a newbie to win32.