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.
hItem | Handle of item. |
bEnable | If this parameter is True, the markup will be enabled for this item. |
nColumn | Zero-based column index. |
pOptions | A pointer to the markup options. |
bRedraw | Specifies whether to redraw the tree item immediately. |