CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: font bold

  1. #1
    Join Date
    Aug 1999
    Posts
    19

    font bold

    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.


  2. #2
    Join Date
    Jun 1999
    Location
    Canada - Québec
    Posts
    273

    Re: font bold

    you can use :
    SetFont();
    but you need to create a CFont.. (you can use GetFont() to get the font that the control use)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured