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

Sets a column value.

Parameters
hItemHandle of item.
nSubItemThe sub item zero-based index.
varValueThe value.
Returns
TRUE if it succeeds, FALSE if it fails.