EditDoc.h
上传用户:shilei2004
上传日期:2020-07-18
资源大小:83k
文件大小:2k
- // EditDoc.h : interface of the CEditDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_EDITDOC_H__5A0AEC6E_8654_4075_916B_8EBE06F32493__INCLUDED_)
- #define AFX_EDITDOC_H__5A0AEC6E_8654_4075_916B_8EBE06F32493__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CEditDoc : public CRichEditDoc
- {
- protected: // create from serialization only
- CEditDoc();
- DECLARE_DYNCREATE(CEditDoc)
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEditDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- //}}AFX_VIRTUAL
- virtual CRichEditCntrItem* CreateClientItem(REOBJECT* preo) const;
- virtual BOOL DoSave(LPCTSTR lpszPathName, BOOL bReplace=TRUE );
- // Implementation
- public:
- virtual ~CEditDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CEditDoc)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_EDITDOC_H__5A0AEC6E_8654_4075_916B_8EBE06F32493__INCLUDED_)