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

📄 treedoc.h

📁 API经典入门
💻 H
字号:
// treedoc.h : interface of the CTreeDoc class
//
/////////////////////////////////////////////////////////////////////////////

#include "dibitmap.h"

class CTreeDoc : public CDocument
{
protected: // create from serialization only
	CTreeDoc();
	DECLARE_DYNCREATE(CTreeDoc)

// Attributes
public:
	CTreeSet m_treeSet;
	CDIBitmap m_bmPortrait; // temporary bitmap storage

// Operations
public:
	void EditCurrentPerson();
	double GetUniqueRandomID();
	BOOL MoveTo (double ID);

// Implementation
public:
	virtual ~CTreeDoc();
	virtual void Serialize(CArchive& ar);   // overridden for document i/o
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	virtual BOOL OnNewDocument();

// Generated message map functions
protected:
	//{{AFX_MSG(CTreeDoc)
	afx_msg void OnInfoRecordset();
	afx_msg void OnInfoPerson();
	afx_msg void OnUpdateRecordEdit(CCmdUI* pCmdUI);
	afx_msg void OnRecordEdit();
	afx_msg void OnRecordAdd();
	afx_msg void OnUpdateRecordAdd(CCmdUI* pCmdUI);
	afx_msg void OnRecordDelete();
	afx_msg void OnUpdateRecordDelete(CCmdUI* pCmdUI);
	afx_msg void OnPortraitLoadfromfile();
	afx_msg void OnUpdatePortraitLoadfromfile(CCmdUI* pCmdUI);
	afx_msg void OnPortraitDelete();
	afx_msg void OnUpdatePortraitDelete(CCmdUI* pCmdUI);
	afx_msg void OnPortraitSavetofile();
	afx_msg void OnUpdatePortraitSavetofile(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

⌨️ 快捷键说明

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