CTreeCtrl::GetCheck

 

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

Syntax

      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

CTreeCtrl Class
Hierarchy Chart
CTreeCtrl::SetCheck