CListCtrl::GetCheck
检索与项目状态图像的当前显示状态。
BOOL GetCheck(
int nItem
) const;
参数
- nItem
列表控件项的从零开始的索引。
返回值
非零,如果项目被选择;否则为0。
备注
此成员函数实现Win32宏,ListView_GetCheckState的行为,如 Windows SDK所述。
示例
为 CListCtrl::SetCheck参见示例。
要求
Header: afxcmn.h
检索与项目状态图像的当前显示状态。
BOOL GetCheck(
int nItem
) const;
非零,如果项目被选择;否则为0。
此成员函数实现Win32宏,ListView_GetCheckState的行为,如 Windows SDK所述。
为 CListCtrl::SetCheck参见示例。
Header: afxcmn.h