📄 scrsnapdoc.cpp
字号:
// ScrSnapDoc.cpp : implementation of the CScrSnapDoc class
//
#include "stdafx.h"
#include "ScrSnap.h"
#include "ScrSnapDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//类名:CScrSnapDoc
//功能:文档类的操作
//作者:徐景周(jingzhou_xu@163.net)
//组织:未来工作室(Future Studio)
//日期:2001.12.1
/////////////////////////////////////////////////////////////////////////////
// CScrSnapDoc
IMPLEMENT_DYNCREATE(CScrSnapDoc, CDocument)
BEGIN_MESSAGE_MAP(CScrSnapDoc, CDocument)
//{{AFX_MSG_MAP(CScrSnapDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
ON_COMMAND(ID_FILE_SEND_MAIL, OnFileSendMail)
ON_UPDATE_COMMAND_UI(ID_FILE_SEND_MAIL, OnUpdateFileSendMail)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CScrSnapDoc construction/destruction
CScrSnapDoc::CScrSnapDoc()
{
// TODO: add one-time construction code here
}
CScrSnapDoc::~CScrSnapDoc()
{
}
BOOL CScrSnapDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CScrSnapDoc serialization
void CScrSnapDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CScrSnapDoc diagnostics
#ifdef _DEBUG
void CScrSnapDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CScrSnapDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CScrSnapDoc commands
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -