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

📄 sdifortxtdoc.h

📁 初学时编写的一个简单的单文件文本编辑器 功能简单
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -