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.
Printable View
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.
you can use :
SetFont();
but you need to create a CFont.. (you can use GetFont() to get the font that the control use)