Поделиться через


CTreeCtrl::GetCheck

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

BOOL GetCheck(
   HTREEITEM hItem 
) const;

Параметры

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

Возвращаемое значение

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

Пример

See the example for CTreeCtrl::SetCheck.

Требования

Header: afxcmn.h

См. также

Основные понятия

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::SetCheck