SftTree/DLL 7.5 Documentation

Row Headers

The optional row headers are available for single- and multi-column tree controls, with labeled buttons or just titles. The SetShowRowHeader function defines the row header display style. The header or button labels may be left or right justified or centered within the available width (see SetRowHeaderStyle). Row headers can also contain pictures.

The built-in row headers offered by SftTree/DLL support one single or multiple lines of text for each item (see SetRowHeaderLines) and one bitmap or icon for each item (see SetRowInfo).

In a fixed height tree control all pictures must be the same height and width for all items. In a variable height tree control, the row header pictures can be of varying height and width.

If a user clicks on a row header, the application receives a SFTTREEN_LBUTTONDOWN_ROW notification.

The row header buttons reflect the currently selected item(s) (see GetCurSel or GetSel).

Tree Components