cntritem.h

来自「讲mfc的书」· C头文件 代码 · 共 42 行

H
42
字号
// CntrItem.h : interface of the CEzwpCntrItem class
//

class CEzwpDoc;
class CEzwpView;

class CEzwpCntrItem : public CRichEditCntrItem
{
	DECLARE_SERIAL(CEzwpCntrItem)

// Constructors
public:
	CEzwpCntrItem(REOBJECT* preo = NULL, CEzwpDoc* 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:
	CEzwpDoc* GetDocument()
		{ return (CEzwpDoc*)CRichEditCntrItem::GetDocument(); }
	CEzwpView* GetActiveView()
		{ return (CEzwpView*)CRichEditCntrItem::GetActiveView(); }

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEzwpCntrItem)
	public:
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	~CEzwpCntrItem();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
};

/////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?