SEC_TREECLASS::ItemHasChildrenOnDemand

BOOLSEC_TREECLASS::ItemHasChildrenOnDemand(HTREEITEMhti)

Determines whether the tree item specified has child items on demand.

Defined in: trcore.inl

Return Value

Nonzero if the tree item specified by hItem has child items on demand; 0 if it does not.

Parameters

hti

Handle of a tree item.

Comments

This function will return TRUE if the tvi.cChildren member for this item was initially set to I_CHILDRENCALLBACK and the cChildren member returned from the TVN_GETDISPINFO callback is > 0. See the Dynatree sample for a demonstration of children on demand.