OverWriteView.h
上传用户:hngjqc
上传日期:2007-01-02
资源大小:25k
文件大小:2k
- // OverWriteView.h : interface of the COverWriteView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_OVERWRITEVIEW_H__42869FD1_D08F_11D2_A1C8_00A024480D89__INCLUDED_)
- #define AFX_OVERWRITEVIEW_H__42869FD1_D08F_11D2_A1C8_00A024480D89__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include <afxrich.h>
- class COverWriteView : public CRichEditView
- {
- protected: // create from serialization only
- COverWriteView();
- DECLARE_DYNCREATE(COverWriteView)
- // Attributes
- public:
- COverWriteDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(COverWriteView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~COverWriteView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(COverWriteView)
- afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in OverWriteView.cpp
- inline COverWriteDoc* COverWriteView::GetDocument()
- { return (COverWriteDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_OVERWRITEVIEW_H__42869FD1_D08F_11D2_A1C8_00A024480D89__INCLUDED_)