cntritem.h
来自「vc技术内幕(第四版)源代码 vc技术内幕(第四版)源代码」· C头文件 代码 · 共 42 行
H
42 行
// CntrItem.h : interface of the CEx32aCntrItem class
//
class CEx32aDoc;
class CEx32aView;
class CEx32aCntrItem : public CRichEditCntrItem
{
DECLARE_SERIAL(CEx32aCntrItem)
// Constructors
public:
CEx32aCntrItem(REOBJECT* preo = NULL, CEx32aDoc* 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:
CEx32aDoc* GetDocument()
{ return (CEx32aDoc*)CRichEditCntrItem::GetDocument(); }
CEx32aView* GetActiveView()
{ return (CEx32aView*)CRichEditCntrItem::GetActiveView(); }
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEx32aCntrItem)
public:
protected:
//}}AFX_VIRTUAL
// Implementation
public:
~CEx32aCntrItem();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?