-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCheckListCtrl.h
62 lines (48 loc) · 1.59 KB
/
CheckListCtrl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// CheckListCtrl.h : header file
//
// $Id$
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CHECKLISTCTRL_H__E4A10ADE_42FB_45D9_B868_6613ACECE11B__INCLUDED_)
#define AFX_CHECKLISTCTRL_H__E4A10ADE_42FB_45D9_B868_6613ACECE11B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCheckListCtrl window
class CCheckListCtrl : public CListCtrl
{
// Construction
public:
CCheckListCtrl();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCheckListCtrl)
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
// Implementation
public:
int FindSubItem(int nSubItem, LPCTSTR psz)const;
void SetEnabled(int nItem, BOOL bEnabled);
int InsertItem(int nItem, LPCTSTR lpszItem);
int GetCheckBox(int nItem)const;
void SetCheckBox(int nItem, int nCheckState);
virtual ~CCheckListCtrl();
// Generated message map functions
protected:
CImageList* m_pImageList;
//{{AFX_MSG(CCheckListCtrl)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHECKLISTCTRL_H__E4A10ADE_42FB_45D9_B868_6613ACECE11B__INCLUDED_)