?? starzdoc.cpp
字號:
// StarzDoc.cpp : implementation of the CStarzDoc class
//
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#include "StdAfx.h"
#include "Starz.h"
#include "StarzDoc.h"
/////////////////////////////////////////////////////////////////////////////
// CStarzDoc
IMPLEMENT_DYNCREATE(CStarzDoc, CDocument)
BEGIN_MESSAGE_MAP(CStarzDoc, CDocument)
//{{AFX_MSG_MAP(CStarzDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CStarzDoc construction/destruction
CStarzDoc::CStarzDoc()
{
}
CStarzDoc::~CStarzDoc()
{
}
BOOL CStarzDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CStarzDoc serialization
void CStarzDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CStarzDoc diagnostics
#ifdef _DEBUG
void CStarzDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CStarzDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CStarzDoc commands
void CStarzDoc::OnCloseDocument()
{
this->UpdateAllViews(0, HINT_CLOSE_DOCUMENT);
CDocument::OnCloseDocument();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -