chenluhua1980
5 天以前 43cd50ae5629f8e18c349fe5e9a58aac298df9f2
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);
};