-
Notifications
You must be signed in to change notification settings - Fork 3
/
Info.h
executable file
·82 lines (71 loc) · 1.95 KB
/
Info.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// Info.h : header file
//
#ifndef _INCLUDED_CINFO_INFO_H_
#define _INCLUDED_CINFO_INFO_H_
#include "CLineEditor.h"
/////////////////////////////////////////////////////////////////////////////
// CInfo view
#include "MyTableView.h"
class CInfo : public CMyTableView
{
protected:
CInfo();// protected constructor used by dynamic creation
DECLARE_DYNCREATE(CInfo)
// Attributes
public:
CCLineEditor* cclinedlg;
// Operations
public:
CString
toString(int data);
CString
toString(double data);
void UpdateInfo(BOOL);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInfo)
public:
virtual BOOL
OnScroll(UINT nScrollCode, UINT nPos, BOOL bDoScroll = TRUE);
virtual BOOL
Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
protected:
virtual void
OnDraw(CDC* pDC);// overridden to draw this view
virtual void
OnInitialUpdate();// first time after construct
virtual BOOL
OnScrollBy(CSize sizeScroll, BOOL bDoScroll = TRUE);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CInfo();
#ifdef _DEBUG
virtual void
AssertValid() const;
virtual void
Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CInfo)
afx_msg void
OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void
OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void
OnSetFocus(CWnd* pOldWnd);
afx_msg void
OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void
OnExportTable();
afx_msg int
OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void
OnImportTable();
afx_msg void
OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
#endif