try_unicdoc.cpp
来自「专门处理UNICODE编码文件的工作区」· C++ 代码 · 共 79 行
CPP
79 行
// try_unicDoc.cpp : implementation of the CTry_unicDoc class
//
#include "stdafx.h"
#include "try_unic.h"
#include "try_unicDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTry_unicDoc
IMPLEMENT_DYNCREATE(CTry_unicDoc, CDocument)
BEGIN_MESSAGE_MAP(CTry_unicDoc, CDocument)
//{{AFX_MSG_MAP(CTry_unicDoc)
// 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
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTry_unicDoc construction/destruction
CTry_unicDoc::CTry_unicDoc()
{
// TODO: add one-time construction code here
}
CTry_unicDoc::~CTry_unicDoc()
{
}
BOOL CTry_unicDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CTry_unicDoc serialization
void CTry_unicDoc::Serialize(CArchive& ar)
{
// CEditView contains an edit control which handles all serialization
((CEditView*)m_viewList.GetHead())->SerializeRaw(ar);
}
/////////////////////////////////////////////////////////////////////////////
// CTry_unicDoc diagnostics
#ifdef _DEBUG
void CTry_unicDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CTry_unicDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CTry_unicDoc commands
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?