-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstantListBox.h
More file actions
58 lines (45 loc) · 1.3 KB
/
Copy pathConstantListBox.h
File metadata and controls
58 lines (45 loc) · 1.3 KB
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
// Taimanov Sergei, 02.06.2009
#if !defined(AFX_CONSTANTLISTBOX_H__EEBFAA7C_F90D_455E_80C8_973A23E93866__INCLUDED_)
#define AFX_CONSTANTLISTBOX_H__EEBFAA7C_F90D_455E_80C8_973A23E93866__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConstantListBox.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CConstantListBox window
class CConstantListBox : public CListBox
{
// Construction
public:
CConstantListBox();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CConstantListBox)
//}}AFX_VIRTUAL
// Implementation
public:
struct TConstInfo {
int nValue;
LPCTSTR szName;
};
void SetData(int n);
int GetData() const;
void AddConstants(const TConstInfo pci[], int nCount);
void Init();
virtual ~CConstantListBox();
// Generated message map functions
protected:
//{{AFX_MSG(CConstantListBox)
afx_msg void OnSelChange();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONSTANTLISTBOX_H__EEBFAA7C_F90D_455E_80C8_973A23E93866__INCLUDED_)