?? ex29doc.cpp
字號:
// ex29Doc.cpp : implementation of the CEx29Doc class
//
#include "stdafx.h"
#include "ex29.h"
#include "ex29Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEx29Doc
IMPLEMENT_DYNCREATE(CEx29Doc, CDocument)
BEGIN_MESSAGE_MAP(CEx29Doc, CDocument)
//{{AFX_MSG_MAP(CEx29Doc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CEx29Doc construction/destruction
CEx29Doc::CEx29Doc()
{
// TODO: add one-time construction code here
}
CEx29Doc::~CEx29Doc()
{
}
BOOL CEx29Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CEx29Doc serialization
void CEx29Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CEx29Doc diagnostics
#ifdef _DEBUG
void CEx29Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CEx29Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CEx29Doc commands
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -