Freigeben über


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

Concepts

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::SetCheck