CTreeCtrl::GetVisibleCount

 

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

Syntax

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

CTreeCtrl Class
Hierarchy Chart
CTreeCtrl::GetCount
CTreeCtrl::EnsureVisible