BCGSuite for MFC
BOOL CBCGPTreeCtrlEx::SetColumnValue ( HTREEITEM  hItem,
int  nSubItem,
const _variant_t &  varValue,
int  nImage,
BOOL  bRedraw = FALSE 
)

Sets a column value.

Parameters
hItemHandle of item.
nSubItemThe sub item zero-based index.
varValueThe value.
nImageThe image index.
bRedrawSpecifies whether a control should be redrawn.
Returns
TRUE if it succeeds, FALSE if it fails.