SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
SftTree/DLL supports a simple progress bar display in each cell. If enabled, the progress bar is rendered as cell background, with the cell text and image displayed in the cell as usual. For a partial height progress bar, the cell background is also rendered using the defined background colors.
The progress bar can be enabled in a cell using SFTTREE_CELL, progressMax and progressVal. The progress bar colors are defined using the structure members colorProgress and colorProgressEnd.
HWND hwndTree; SFTTREE_CELLINFOPARM CellInfo; CellInfo.version = 7; CellInfo.index = itemIndex; CellInfo.iCol = col; SftTree_GetCellInfo(hwndTree, &CellInfo); CellInfo.Cell.progressMax = 100; // maximum value 0 - 100 CellInfo.Cell.progressVal = 33; // current value SftTree_SetCellInfo(hwndTree, &CellInfo);
CSftTree m_Tree; SFTTREE_CELLINFOPARM CellInfo; CellInfo.version = 7; CellInfo.index = i; CellInfo.iCol = 0; m_Tree.GetCellInfo(&CellInfo); CellInfo.Cell.progressMax = 100; // maximum value 0 - 100 CellInfo.Cell.progressVal = 33; // current value m_Tree.SetCellInfo(&CellInfo);