Share via


CTreeCtrl::GetCheck

Call this member function to retrieve an item's check state.

BOOL GetCheck( 
   HTREEITEM hItem  
) const;

Parameters

  • hItem
    The HTREEITEM about which to receive the state information.

Return Value

Nonzero if the tree control item is checked; otherwise 0.

Example

See the example for CTreeCtrl::SetCheck.

Requirements

Header: afxcmn.h

See Also

Reference

CTreeCtrl Class

Hierarchy Chart

CTreeCtrl::SetCheck

Other Resources

CTreeCtrl Members