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

Gets a column value.

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