BCGControlBar Pro for MFC
void CBCGPTreeCtrlEx::EnableItemMarkup ( HTREEITEM  hItem,
BOOL  bEnable = TRUE,
int  nColumn = 0,
const CBCGPTextRendererOptions pOptions = NULL,
BOOL  bRedraw = FALSE 
)

Specifies whether the markup is enabled for the tree item.

Call this method to enable or disable markup for the tree item: when markup is enabled, the standard HTML tags such as "a" will be used for the text rendering and user will be able to click links located inside the item. Override the CBCGPGridCtrl::OnClickItemLink() method to handle the grid item link click. Or you can add a new registered message BCGM_GRID_ITEM_LINK_CLICK handler to the tree control owner window.

Parameters
hItemHandle of item.
bEnableIf this parameter is True, the markup will be enabled for this item.
nColumnZero-based column index.
pOptionsA pointer to the markup options.
bRedrawSpecifies whether to redraw the tree item immediately.