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.

Tags: ,