articledoc.h
来自「深入浅出Visual C++入门进阶与应用实例 随书光盘 作者 何志丹」· C头文件 代码 · 共 63 行
H
63 行
#if !defined(AFX_ARTICLEDOC_H__FF37EFB0_A7CA_45FD_83DF_7B54CD5BB6C6__INCLUDED_)
#define AFX_ARTICLEDOC_H__FF37EFB0_A7CA_45FD_83DF_7B54CD5BB6C6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ArticleDoc.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CArticleDoc document
class CArticleDoc : public CDocument
{
protected:
CArticleDoc(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CArticleDoc)
// Attributes
public:
CMainData m_mainData ;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CArticleDoc)
public:
virtual void Serialize(CArchive& ar); // overridden for document i/o
protected:
virtual BOOL OnNewDocument();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CArticleDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CArticleDoc)
afx_msg void OnUpdateDeleteContent(CCmdUI* pCmdUI);
afx_msg void OnUpdateToFirstPage(CCmdUI* pCmdUI);
afx_msg void OnUpdateToFrontPage(CCmdUI* pCmdUI);
afx_msg void OnUpdateToLastPage(CCmdUI* pCmdUI);
afx_msg void OnUpdateToNextPage(CCmdUI* pCmdUI);
afx_msg void OnToFirstPage();
afx_msg void OnToFrontPage();
afx_msg void OnToLastPage();
afx_msg void OnToNextPage();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ARTICLEDOC_H__FF37EFB0_A7CA_45FD_83DF_7B54CD5BB6C6__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?