📄 ffmsdoc.cpp
字号:
// FFMSDoc.cpp : implementation of the CFFMSDoc class
//
#include "stdafx.h"
#include "FFMS.h"
#include "FFMSDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFFMSDoc
IMPLEMENT_DYNCREATE(CFFMSDoc, CDocument)
BEGIN_MESSAGE_MAP(CFFMSDoc, CDocument)
//{{AFX_MSG_MAP(CFFMSDoc)
// 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()
BEGIN_DISPATCH_MAP(CFFMSDoc, CDocument)
//{{AFX_DISPATCH_MAP(CFFMSDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_DISPATCH_MAP
END_DISPATCH_MAP()
// Note: we add support for IID_IFFMS to support typesafe binding
// from VBA. This IID must match the GUID that is attached to the
// dispinterface in the .ODL file.
// {CFF7F9A8-27BF-4513-A37B-9FFE3C387168}
static const IID IID_IFFMS =
{ 0xcff7f9a8, 0x27bf, 0x4513, { 0xa3, 0x7b, 0x9f, 0xfe, 0x3c, 0x38, 0x71, 0x68 } };
BEGIN_INTERFACE_MAP(CFFMSDoc, CDocument)
INTERFACE_PART(CFFMSDoc, IID_IFFMS, Dispatch)
END_INTERFACE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFFMSDoc construction/destruction
CFFMSDoc::CFFMSDoc()
{
// TODO: add one-time construction code here
EnableAutomation();
AfxOleLockApp();
}
CFFMSDoc::~CFFMSDoc()
{
AfxOleUnlockApp();
}
BOOL CFFMSDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CFFMSDoc serialization
void CFFMSDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CFFMSDoc diagnostics
#ifdef _DEBUG
void CFFMSDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CFFMSDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CFFMSDoc commands
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -