ROAView.h
资源名称:ROA3.40.rar [点击查看]
上传用户:tianheyiqi
上传日期:2010-04-16
资源大小:282k
文件大小:2k
源码类别:
外挂编程
开发平台:
Visual C++
- // ROAView.h : interface of the CROAView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_ROAVIEW_H__A2DF9282_8990_41B9_A739_8B928097512E__INCLUDED_)
- #define AFX_ROAVIEW_H__A2DF9282_8990_41B9_A739_8B928097512E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CROADoc;
- class CROAView : public CRichEditView
- {
- public:
- void Reload();
- protected: // create from serialization only
- CROAView();
- DECLARE_DYNCREATE(CROAView)
- void AddColorText(LPCTSTR lpszMsg, COLORREF color, BOOL bAi);
- // Attributes
- public:
- CROADoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CROAView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void OnInitialUpdate();
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void AddMessage(LPCTSTR lpszMsg, LOG_LEVEL level, BOOL bAi);
- void AddMessage2(LPCTSTR lpszMsg, LOG_LEVEL level, BOOL bAi);
- void AddMessage3(LPCTSTR lpszMsg, LOG_LEVEL level, BOOL bAi);
- virtual ~CROAView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CROAView)
- afx_msg void OnReload();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in ROAView.cpp
- inline CROADoc* CROAView::GetDocument()
- { return (CROADoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ROAVIEW_H__A2DF9282_8990_41B9_A739_8B928097512E__INCLUDED_)