12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #if !defined(AFX_CheckBoxListCtrl_H__B26FE6EC_7377_4DA6_BEC1_E3C656DACFB8__INCLUDED_)
- #define AFX_CheckBoxListCtrl_H__B26FE6EC_7377_4DA6_BEC1_E3C656DACFB8__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // CheckBoxListCtrl.h : header file
- class CCheckBoxListCtrl : public CListCtrl
- {
- CArray<CButton*, CButton*>m_pCheckArray;
- // Construction
- public:
- CCheckBoxListCtrl();
- // Attributes
- public:
-
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCheckBoxListCtrl)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void CheckAll(BOOL bCheck);
- BOOL GetItemCheck(int iItem, int pos);
- void AddCheckBox(int iItem, int pos, BOOL bCheck);
- void InitStyle();
- virtual ~CCheckBoxListCtrl();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CCheckBoxListCtrl)
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnDestroy();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CheckBoxListCtrl_H__B26FE6EC_7377_4DA6_BEC1_E3C656DACFB8__INCLUDED_)
|