Partager via


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

Concepts

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::GetCount

CTreeCtrl::EnsureVisible