CStatic Control
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
How can I change the font of a CStatic control? Thanks, Joseph LeBlanc unixd0od@hotmail.com
-
How can I change the font of a CStatic control? Thanks, Joseph LeBlanc unixd0od@hotmail.com
Hi... Use the CStatic::GetDC() function to get the device context of the static control. Then u can use the CDC's font manipulation functions to play with fonts. Happy coding, ;) Regards, Rejeesh
-
How can I change the font of a CStatic control? Thanks, Joseph LeBlanc unixd0od@hotmail.com
You can use CWnd::SetFont(), and I always use CFont::CreatePointFont() for convenience. Cheers, Bob.