Summary
Most of the full functionality of the TreeView control is encapsulated in the VCL. The ListView control's encapsulation is lacking. However, this limitation is minimal since BCB allows full integration of low-level API code. Most of the advanced ListView techniques in this section requires deriving your own ListView from TListView, and making it owner-drawn (which is a window style allowed by Windows, but not encapsulated by the VCL) Some of these limitations have been overcome in BCB4 and 5. 

Note: In the examples below, if a Custom Draw solution exists, it is recommended to use it first. The owner-draw/WM_PAINT approaches are generally more difficult to implement (and the examples are less complete). These are marked by (*). 

 
Topics