#pragma once #include "afxwin.h" // CMyDialogLog ¶Ô»°¿ò class CMyDialogLog : public CDialogEx { DECLARE_DYNAMIC(CMyDialogLog) public: CMyDialogLog(CWnd* pParent = NULL); // ±ê×¼¹¹Ô캯Êý virtual ~CMyDialogLog(); // ¶Ô»°¿òÊý¾Ý enum { IDD = IDD_DIALOG_LOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Ö§³Ö DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); CEdit m_MyEditLog1; afx_msg void OnTimer(UINT_PTR nIDEvent); CEdit m_edit_log1; };