SEC_TREECLASS::DisableItem
BOOLSEC_TREECLASS::DisableItem(HTREEITEMhti, BOOLbDisable)
Disables/enables a particular item.
Defined in: trcore.inl
Return Value
Nonzero if the call was successful; otherwise 0.
Parameters
hti
The item to disable or enable
bDisable
TRUE to disable the item, FALSE to enable.
Comments
This function will add or remove the TVIS_EX_DISABLED extended style and invalidate the items.