hi..
I'm trying to change the font of the button window [not the button on
Dialog Box]
I have used WM_SETFONT message after creating font , using API
CreateFontIndirect() , but it is not working , still showing the font
in Bold format,
here is the following code i'm using....
plz let me know where i'm going wrong
LOGFONT lf;
HFONT hFont;
/*
* for fints on buttons
*/
lf.lfHeight = 25;
lf.lfEscapement = 2700;
lf.lfOrientation = 0;
lstrcpy(lf.lfFaceName, TEXT("Times New Roman"));
g_hFontLeft = CreateFontIndirect(&lf);
CreatWindow("button", ....);
SendMessage(hButton, WM_SETFONT, g_hFontLeft , 0);