#pragma once
|
#include "afxwin.h"
|
#include "afxcmn.h"
|
|
|
|
// CMyFormLog ´°ÌåÊÓͼ
|
|
class CMyFormLog : public CFormView
|
{
|
DECLARE_DYNCREATE(CMyFormLog)
|
|
protected:
|
CMyFormLog(); // ¶¯Ì¬´´½¨ËùʹÓõÄÊܱ£»¤µÄ¹¹Ô캯Êý
|
virtual ~CMyFormLog();
|
|
public:
|
enum { IDD = IDD_FORM_LOG };
|
#ifdef _DEBUG
|
virtual void AssertValid() const;
|
#ifndef _WIN32_WCE
|
virtual void Dump(CDumpContext& dc) const;
|
#endif
|
#endif
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Ö§³Ö
|
|
DECLARE_MESSAGE_MAP()
|
public:
|
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
afx_msg void OnDestroy();
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
virtual void OnInitialUpdate();
|
afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message);
|
CEdit m_edit_log;
|
CRichEditCtrl m_richedit_log;
|
afx_msg void OnTimer(UINT_PTR nIDEvent);
|
afx_msg void OnEnChangeRichedit2Log();
|
};
|
|
|