?? sdidoc.cpp
字號:
// SDIDoc.cpp : CSDIDoc 類的實現(xiàn)
//
#include "stdafx.h"
#include "SDI.h"
#include "SDIDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CSDIDoc
IMPLEMENT_DYNCREATE(CSDIDoc, CDocument)
BEGIN_MESSAGE_MAP(CSDIDoc, CDocument)
END_MESSAGE_MAP()
// CSDIDoc 構(gòu)造/析構(gòu)
CSDIDoc::CSDIDoc()
{
// TODO: 在此添加一次性構(gòu)造代碼
}
CSDIDoc::~CSDIDoc()
{
}
BOOL CSDIDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: 在此添加重新初始化代碼
// (SDI 文檔將重用該文檔)
return TRUE;
}
// CSDIDoc 序列化
void CSDIDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: 在此添加存儲代碼
}
else
{
// TODO: 在此添加加載代碼
}
}
// CSDIDoc 診斷
#ifdef _DEBUG
void CSDIDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CSDIDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// CSDIDoc 命令
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -