gendoc.cpp
来自「MFC编程实例」· C++ 代码 · 共 76 行
CPP
76 行
// GenDoc.cpp : implementation of the CGenDoc class
//
#include "stdafx.h"
#include "Gen.h"
#include "GenDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGenDoc
IMPLEMENT_DYNCREATE(CGenDoc, CDocument)
BEGIN_MESSAGE_MAP(CGenDoc, CDocument)
//{{AFX_MSG_MAP(CGenDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGenDoc construction/destruction
CGenDoc::CGenDoc()
{
}
CGenDoc::~CGenDoc()
{
}
BOOL CGenDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CGenDoc serialization
void CGenDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
}
else
{
}
}
/////////////////////////////////////////////////////////////////////////////
// CGenDoc diagnostics
#ifdef _DEBUG
void CGenDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CGenDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CGenDoc commands
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?