📄 slstdoc.cpp
字号:
// SlstDoc.cpp : implementation file
//
#include "stdafx.h"
#include "prop.h"
#include "SlstDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSlstDoc
IMPLEMENT_DYNCREATE(CSlstDoc, CDocument)
CSlstDoc::CSlstDoc()
{
}
BOOL CSlstDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
return TRUE;
}
CSlstDoc::~CSlstDoc()
{
}
BEGIN_MESSAGE_MAP(CSlstDoc, CDocument)
//{{AFX_MSG_MAP(CSlstDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSlstDoc diagnostics
#ifdef _DEBUG
void CSlstDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CSlstDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CSlstDoc serialization
void CSlstDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CSlstDoc commands
void CSlstDoc::SetTitle(LPCTSTR lpszTitle)
{
// TODO: Add your specialized code here and/or call the base class
CString title="SentenceWindow";
CDocument::SetTitle(LPCTSTR(title));
CDocument::SetTitle(title);
}
BOOL CSlstDoc::SaveModified()
{
// TODO: Add your specialized code here and/or call the base class
return TRUE;
// return CDocument::SaveModified();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -