SEC_TREECLASS::StoreSubItemText
voidSEC_TREECLASS::StoreSubItemText(BOOLbEnable)
Enables or disables subitem text storage for multi-column trees.
Defined in: trcore.inl
Return Value
void
Parameters
bEnable
TRUE to begin storing subitem text. FALSE to revert back to the callback functions.
Comments
By default, the tree control does not store subitem text internally. When a sub-item is redrawn, an LVN_GETDISPINFO notification is sent to request the text for the subitem. Calling StoreSubItemText( TRUE ) will signal the control to begin storing subitem text internally, so subsequent calls to SetItemText( hti, 1, _T("Column 1 text")) will work as expected. SetItemString would have the same result as SetItemText. This function can be called at any time after construction.