SEC_TREECLASS::EnsureVisible

BOOLSEC_TREECLASS::EnsureVisible(HTREEITEMhti, BOOLbParentVisible)

Ensures that a tree view item is visible. If necessary, expands the parent item or scrolls the tree view control so that the item is visible.

Defined in: trcore.inl

Return Value

Nonzero if successful; otherwise 0.

Parameters

hti

Handle of the tree item being made visible.

bParentVisible

Flag indicating whether parent item is visible; default is FALSE.

Comments

Call this function to ensure that a tree view item is visible. If necessary, the function expands the parent item or scrolls the tree view control so that the item is visible.