#pragma once #include "LogInfo.h" // CFileLogView ºäÀÔ´Ï´Ù. 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); // ÀÌ ºä¸¦ ±×¸®±â À§ÇØ ÀçÁ¤ÀǵǾú½À´Ï´Ù. virtual void OnInitialUpdate(); // »ý¼ºµÈ ÈÄ Ã³À½ÀÔ´Ï´Ù. 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; };