?? viewcutdoc.cpp
字號:
// viewcutDoc.cpp : implementation of the CViewcutDoc class
//
#include "stdafx.h"
#include "viewcut.h"
#include "viewcutDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CViewcutDoc
IMPLEMENT_DYNCREATE(CViewcutDoc, CDocument)
BEGIN_MESSAGE_MAP(CViewcutDoc, CDocument)
//{{AFX_MSG_MAP(CViewcutDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CViewcutDoc construction/destruction
CViewcutDoc::CViewcutDoc()
{
memset(&logfont,0,sizeof(LOGFONT));
//strcpy((LPSTR)&(logfont.lfFaceName),"黑體");
}
CViewcutDoc::~CViewcutDoc()
{
}
BOOL CViewcutDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CViewcutDoc serialization
void CViewcutDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CViewcutDoc diagnostics
#ifdef _DEBUG
void CViewcutDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CViewcutDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CViewcutDoc commands
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -