   Treeview Question
  I am working on a treeview (straight win32) and was wondering if anyone knew how I could change the text apperance? (Yes, I know how to change text color in general). I can not seem to find an obvious way to do this. I have tried using TreeView_SetTextColor but that will change the text color for all of tree. I only want to change one branch of my tree.http://rafb.net/p/7VhWKn68.html (tree.h) and http://rafb.net/p/6ltyVn44.html (tree.cpp)   
  I haven't done this with a tree view myself, but you'll probably have to make it owner-drawn and draw the text yourself.   ;Quote:Original post by iMalcI haven't done this with a tree view myself, but you'll probably have to make it owner-drawn and draw the text yourself.How would I do that?Also, with that can I change the font size?   ;  With a ListBox or ComboBox, you can do owner draw items for this sort of effect, but as far as I know the TreeView control doesn't support the owner draw mechanism right out of the box.  I think you'd have to do quite a bit of work to handle owner draw for a TreeView.My preferred reference for Win32/GDI is "Win32 Programming", by Rector and Newcomer and he doesn't mention owner draw in the context of the TreeView control (and he covers Win32 pretty exhaustively, a masochist after my own heart :).   