CTreeCtrl::GetVisibleCount

Call this function to retrieve a count of the visible items in a tree view control.

UINT GetVisibleCount( ) const;

Return Value

The number of visible items in the tree view control; otherwise – 1.

Example

See the example for CTreeCtrl::SetCheck.

Requirements

Header: afxcmn.h

See Also

Reference

CTreeCtrl Class

Hierarchy Chart

CTreeCtrl::GetCount

CTreeCtrl::EnsureVisible