2024-12-21 10:04:04 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include "LogInfo.h"
|
|
|
|
|
|
|
|
|
|
|
|
// CFileLogView <20><><EFBFBD>Դϴ<D4B4>.
|
|
|
|
|
|
|
|
|
|
|
|
class CLogList;
|
|
|
|
|
|
|
|
|
|
|
|
class CFileLogView : public CScrollView
|
|
|
|
|
|
{
|
|
|
|
|
|
DECLARE_DYNCREATE(CFileLogView)
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
CFileLogView();
|
|
|
|
|
|
virtual ~CFileLogView();
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
#ifdef _DEBUG
|
|
|
|
|
|
virtual void AssertValid() const;
|
|
|
|
|
|
#ifndef _WIN32_WCE
|
|
|
|
|
|
virtual void Dump(CDumpContext& dc) const;
|
|
|
|
|
|
#endif
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
virtual void OnDraw(CDC* pDC); // <20><> <20>並 <20><EFBFBD><D7B8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ǵǾ<C7B5><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.
|
|
|
|
|
|
virtual void OnInitialUpdate(); // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> ó<><C3B3><EFBFBD>Դϴ<D4B4>.
|
|
|
|
|
|
|
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
bool OpenFile();
|
|
|
|
|
|
void InsertLog(LogInfo& log);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
CLogList* m_pList;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|