How to hilight or bold an item in CTreeCtrl/CTreeView?
There is no real difference between CTreeCtrl and CTreeView. You need to use an owner draw tree control.
Takeover the NM_CUSTOMDRAW message, and it will allow you to change the font, brush, etc. of each individual item. You don’t need to do any owner draw if you use customdraw.
The following articles wil save you plenty of work.
Permalink: Code Library - How to hilight an item in CTreeCtrl/CTreeView
Subcribe the update with Google Reader.
RSS feed for comments on this post · TrackBack URI
Leave a reply