sdifortxtdoc.h

来自「初学时编写的一个简单的单文件文本编辑器 功能简单」· C头文件 代码 · 共 74 行

H
74
字号
// SDIforTXTDoc.h : interface of the CSDIforTXTDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SDIFORTXTDOC_H__39329252_126D_4BDB_9207_51A6ECE340F9__INCLUDED_)
#define AFX_SDIFORTXTDOC_H__39329252_126D_4BDB_9207_51A6ECE340F9__INCLUDED_

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


class CSDIforTXTSrvrItem;

class CSDIforTXTDoc : public CRichEditDoc
{
protected: // create from serialization only
	CSDIforTXTDoc();
	DECLARE_DYNCREATE(CSDIforTXTDoc)

// Attributes
public:
	CSDIforTXTSrvrItem* GetEmbeddedItem()
		{ return (CSDIforTXTSrvrItem*)CRichEditDoc::GetEmbeddedItem(); }

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSDIforTXTDoc)
	protected:
	virtual COleServerItem* OnGetEmbeddedItem();
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL
	virtual CRichEditCntrItem* CreateClientItem(REOBJECT* preo) const;

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

protected:
	virtual CDocObjectServer* GetDocObjectServer(LPOLEDOCUMENTSITE pDocSite);

// Generated message map functions
protected:
	//{{AFX_MSG(CSDIforTXTDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	// Generated OLE dispatch map functions
	//{{AFX_DISPATCH(CSDIforTXTDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()
	DECLARE_INTERFACE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SDIFORTXTDOC_H__39329252_126D_4BDB_9207_51A6ECE340F9__INCLUDED_)

⌨️ 快捷键说明

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