helpdoc.cpp

来自「用CJ60Lib界面库制作的SQL数据库客户与服务器程序。」· C++ 代码 · 共 73 行

CPP
73
字号
// HelpDoc.cpp : implementation file
//

#include "stdafx.h"
#include "Client.h"
#include "HelpDoc.h"
#include "HelpView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CHelpDoc

IMPLEMENT_DYNCREATE(CHelpDoc, CDocument)

CHelpDoc::CHelpDoc()
{
}

BOOL CHelpDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}

CHelpDoc::~CHelpDoc()
{
}


BEGIN_MESSAGE_MAP(CHelpDoc, CDocument)
	//{{AFX_MSG_MAP(CHelpDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CHelpDoc diagnostics

#ifdef _DEBUG
void CHelpDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CHelpDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CHelpDoc serialization

void CHelpDoc::Serialize(CArchive& ar)
{
	CEditView* pView = (CEditView*)m_viewList.GetHead();
	ASSERT_KINDOF(CEditView, pView);
	pView->SerializeRaw(ar);
}

/////////////////////////////////////////////////////////////////////////////
// CHelpDoc commands

⌨️ 快捷键说明

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