1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| #pragma once
| #include "afxwin.h"
| class CLogEdit :
| public CEdit
| {
| public:
| CLogEdit();
| ~CLogEdit();
|
| public:
| void SetMaxLineCount(int line);
| void AppendText(const char* pszText);
|
|
| private:
| int m_nMaxLineCount;
|
| DECLARE_MESSAGE_MAP()
| afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
| };
|
|