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

    Thumbs up Re: Font for CButton

    Found the problem! It was my theme! I switched to the standard windows XP blue theme and everything was fine, something with my custom theme was causing the font to not change. that is very wierd!

  2. #17
    Join Date
    Nov 2011
    Posts
    4

    Re: Font for CButton

    Use any code above..
    Dont forget to declare CFont variable as member variable( variable of dialog class) and not local variable.
    It will work..

  3. #18
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: Font for CButton

    Quote Originally Posted by amitgpatil View Post
    Use any code above..
    Dont forget to declare CFont variable as member variable( variable of dialog class) and not local variable.
    It will work..
    Are you sure your tip would be needed after more than six years?
    Victor Nijegorodov

Page 2 of 2 FirstFirst 12

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