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

Thread: CTreeCtrl

  1. #1
    Join Date
    Oct 2002
    Location
    Vietnam
    Posts
    112

    Question CTreeCtrl

    I add a TreeCtrl in a Dialog, how could I change Font for TreeCtrl ? I try to set Font in OnPaint... but nothing happen.
    Thanks alot.
    /****************************/
    I've learned-
    that we are responsible for what we do, no matter how we feel.
    /****************************/

  2. #2
    Join Date
    Jul 1999
    Location
    Israel
    Posts
    1,793
    Just use MyTreeCtrl.SetFont(.... )
    that's allyou need to do...
    and you may want to do it in the OnInitDialog..

    HTH
    kishk

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