lut
Dans une de mes appli j'avais fait comme ceci :
Tu declares ta font : #define hFont CreateFont(10, 7, 0, 0, 8, 0, 0, 0, DEFAULT_CHARSET, PROOF_QUALITY, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH|FF_DONTCARE, "MS Sans Serif")
et ensuite tu l'appliques a tes composants :
SendMessage(GetDlgItem(hdlg,IDC_STATIC), WM_SETFONT, (int)hFont, 0);
Je ne sais pas si il y a mieux a faire, attend d'autre reponse ptet
+++
|