📄 cntritem.h
字号:
// CntrItem.h : interface of the CServerCntrItem class
//
#if !defined(AFX_CNTRITEM_H__74FF87F3_5BEC_11D4_B516_00A024ECD38F__INCLUDED_)
#define AFX_CNTRITEM_H__74FF87F3_5BEC_11D4_B516_00A024ECD38F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CServerDoc;
class CServerView;
class CServerCntrItem : public CRichEditCntrItem
{
DECLARE_SERIAL(CServerCntrItem)
// Constructors
public:
CServerCntrItem(REOBJECT* preo = NULL, CServerDoc* 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:
CServerDoc* GetDocument()
{ return (CServerDoc*)CRichEditCntrItem::GetDocument(); }
CServerView* GetActiveView()
{ return (CServerView*)CRichEditCntrItem::GetActiveView(); }
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CServerCntrItem)
public:
protected:
//}}AFX_VIRTUAL
// Implementation
public:
~CServerCntrItem();
#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__74FF87F3_5BEC_11D4_B516_00A024ECD38F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -