I've never used a "Tree Control" I need a solid example of how to use it:
the following BOOLs are set:
m_bHasButtons = TRUE;// button style
m_bHasLines = TRUE;//has lines
m_bLinesAtRoot = TRUE;//root lines
m_bShowSelAlways = TRUE;//always show
m_bSingleExpand = TRUE;//allow single expand only
In the program I want to list files(database reports) for each Heading;
Ex: Headings, Shop, Yard, Building, Motorpool, Maintenance, Construction.
Question 1) How do I show these Headings in the TreeCtrl(named: CTreeCtrl m_cTree) and Question 2) Then be able to insert various "Reports" for each heading(different amount of reports for each heading?