blob: 2293d9c80eb485f7cd6d6211e3ea1eb9255f8a3e (
plain)
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
|
#ifndef _FOO_BAR_H_INCLUDED_
#define _FOO_BAR_H_INCLUDED_
class CFooBarDlg : public CDialog
{
// Construction
public:
CFooBarDlg(CFooBar *pDataMan,
CWnd *pParent=NULL);
virtual ~CFooBarDlg();
void Initialize(BYTE nDelay=100);
UINT GetCount() { return(m_nCount); }
void SetCount(int count=1)
{
if ((count > 0) && (count < MAX_COUNT))
{
m_nCount = count;
}
}
// Dialog Data
//{{AFX_DATA(CATCSMgrDlg)
enum { IDD = IDD_ATCS_MGR_DLG };
//}}AFX_DATA
protected:
int m_nCount;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CATCSMgrDlg)
protected:
virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
// Generated message map functions
//{{AFX_MSG(CATCSMgrDlg)
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnBtnSendFooBar();
afx_msg void OnSelchangeFooBarCombo();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif /* _FOO_BAR_H_INCLUDED_ */
|