📄 mididemodoc.cpp
字号:
// MIDIDemoDoc.cpp : implementation of the CMIDIDemoDoc class
//
#include "stdafx.h"
#include "MIDIDemo.h"
#include "MIDIDemoDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMIDIDemoDoc
IMPLEMENT_DYNCREATE(CMIDIDemoDoc, CDocument)
BEGIN_MESSAGE_MAP(CMIDIDemoDoc, CDocument)
//{{AFX_MSG_MAP(CMIDIDemoDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMIDIDemoDoc construction/destruction
CMIDIDemoDoc::CMIDIDemoDoc()
{
}
CMIDIDemoDoc::~CMIDIDemoDoc()
{
}
BOOL CMIDIDemoDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CMIDIDemoDoc serialization
void CMIDIDemoDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
}
else
{
}
}
/////////////////////////////////////////////////////////////////////////////
// CMIDIDemoDoc diagnostics
#ifdef _DEBUG
void CMIDIDemoDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CMIDIDemoDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CMIDIDemoDoc commands
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -