Click to See Complete Forum and Search --> : font bold


Mona
September 1st, 1999, 02:26 PM
I have a static text in my Formview. I want to make it bold and set the size of the text in that static text in OnInitialUpdate() method. I got the GetDlgItem(IDC_STATIC_X);

Is there any function for that?

thanks,

Mona.

ChristianM
September 1st, 1999, 02:34 PM
you can use :
SetFont();
but you need to create a CFont.. (you can use GetFont() to get the font that the control use)