CntrItem.h
资源名称:ceditor.rar [点击查看]
上传用户:hgtech
上传日期:2022-06-07
资源大小:4455k
文件大小:2k
源码类别:
词法分析
开发平台:
Visual C++
- // CntrItem.h : interface of the CC_EditorCntrItem class
- //
- #if !defined(AFX_CNTRITEM_H__A59A9F4E_43EF_44FA_8F72_8178221F9465__INCLUDED_)
- #define AFX_CNTRITEM_H__A59A9F4E_43EF_44FA_8F72_8178221F9465__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CC_EditorDoc;
- class CC_EditorView;
- class CC_EditorCntrItem : public CRichEditCntrItem
- {
- DECLARE_SERIAL(CC_EditorCntrItem)
- // Constructors
- public:
- CC_EditorCntrItem(REOBJECT* preo = NULL, CC_EditorDoc* pContainer = NULL);
- // Note: pContainer is allowed to be NULL to enable IMPLEMENT_SERIALIZE.
- // IMPLEMENT_SERIALIZE requires the class have a constructor with
- // zero arguments. Normally, OLE items are constructed with a
- // non-NULL document pointer.
- // Attributes
- public:
- CC_EditorDoc* GetDocument()
- { return (CC_EditorDoc*)CRichEditCntrItem::GetDocument(); }
- CC_EditorView* GetActiveView()
- { return (CC_EditorView*)CRichEditCntrItem::GetActiveView(); }
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CC_EditorCntrItem)
- public:
- protected:
- //}}AFX_VIRTUAL
- // Implementation
- public:
- ~CC_EditorCntrItem();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CNTRITEM_H__A59A9F4E_43EF_44FA_8F72_8178221F9465__INCLUDED_)