提交 | 用户 | age
|
418cb3
|
1 |
#pragma once
|
Q |
2 |
#include "afxwin.h"
|
|
3 |
#include "afxcmn.h"
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
// CMyFormLog 窗体视图
|
|
8 |
|
|
9 |
class CMyFormLog : public CFormView
|
|
10 |
{
|
|
11 |
DECLARE_DYNCREATE(CMyFormLog)
|
|
12 |
|
|
13 |
protected:
|
|
14 |
CMyFormLog(); // 动态创建所使用的受保护的构造函数
|
|
15 |
virtual ~CMyFormLog();
|
|
16 |
|
|
17 |
public:
|
|
18 |
enum { IDD = IDD_FORM_LOG };
|
|
19 |
#ifdef _DEBUG
|
|
20 |
virtual void AssertValid() const;
|
|
21 |
#ifndef _WIN32_WCE
|
|
22 |
virtual void Dump(CDumpContext& dc) const;
|
|
23 |
#endif
|
|
24 |
#endif
|
|
25 |
|
|
26 |
protected:
|
|
27 |
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
28 |
|
|
29 |
DECLARE_MESSAGE_MAP()
|
|
30 |
public:
|
|
31 |
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
|
|
32 |
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
33 |
afx_msg void OnDestroy();
|
|
34 |
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
35 |
virtual void OnInitialUpdate();
|
|
36 |
afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message);
|
|
37 |
CEdit m_edit_log;
|
|
38 |
CRichEditCtrl m_richedit_log;
|
|
39 |
afx_msg void OnTimer(UINT_PTR nIDEvent);
|
d34256
|
40 |
afx_msg void OnEnChangeRichedit2Log();
|
418cb3
|
41 |
};
|
Q |
42 |
|
|
43 |
|