다음을 통해 공유


CCheckListBox::GetCheck

Call this function to determine the check state of an item.

int GetCheck(
   int nIndex 
);

Parameters

  • nIndex
    Index of the item whose check status is to be retrieved.

Return Value

Zero if the item is not checked, 1 if it is checked, and 2 if it is indeterminate.

Requirements

Header: afxwin.h

See Also

Concepts

CCheckListBox Class

CCheckListBox Members

Hierarchy Chart

CCheckListBox::OnGetCheckPosition

CCheckListBox::SetCheck

CCheckListBox::SetCheckStyle

CCheckListBox::GetCheckStyle