notebookdoc.h

来自「notbook是VS2005下WinCE6.0记事本源码」· C头文件 代码 · 共 66 行

H
66
字号
// NoteBookDoc.h : interface of the CNoteBookDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_NOTEBOOKDOC_H__0C03E728_AD2E_4C87_8EDD_3A817516F952__INCLUDED_)
#define AFX_NOTEBOOKDOC_H__0C03E728_AD2E_4C87_8EDD_3A817516F952__INCLUDED_

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


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

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNoteBookDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
	virtual void OnCloseDocument();
	virtual void DeleteContents();
	protected:
	virtual BOOL SaveModified();
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CNoteBookDoc)
	afx_msg void OnAppExit2();
	afx_msg void OnFileNew2();
	afx_msg void OnFileOpen2();
	afx_msg void OnFileSave2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_NOTEBOOKDOC_H__0C03E728_AD2E_4C87_8EDD_3A817516F952__INCLUDED_)

⌨️ 快捷键说明

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