⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cntritem.h

📁 Visual C++ From the Ground Up Second Edition 例程源代码
💻 H
字号:
// CntrItem.h : interface of the CActivDocCntrItem class
//

#if !defined(AFX_CNTRITEM_H__5C13C4FA_A6E7_11D0_9887_00A024DA5F0B__INCLUDED_)
#define AFX_CNTRITEM_H__5C13C4FA_A6E7_11D0_9887_00A024DA5F0B__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

class CActivDocDoc;
class CActivDocView;

class CActivDocCntrItem : public CRichEditCntrItem
{
	DECLARE_SERIAL(CActivDocCntrItem)

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

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

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

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CNTRITEM_H__5C13C4FA_A6E7_11D0_9887_00A024DA5F0B__INCLUDED_)

⌨️ 快捷键说明

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