twaintestdoc.cpp
来自「摄 像 头 驱 动 程 序」· C++ 代码 · 共 84 行
CPP
84 行
// twaintestDoc.cpp : implementation of the CTwaintestDoc class
//
#include "stdafx.h"
#include "twaintest.h"
#include "twaintestDoc.h"
#include "Mainfrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTwaintestDoc
IMPLEMENT_DYNCREATE(CTwaintestDoc, CDocument)
BEGIN_MESSAGE_MAP(CTwaintestDoc, CDocument)
//{{AFX_MSG_MAP(CTwaintestDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTwaintestDoc construction/destruction
CTwaintestDoc::CTwaintestDoc()
{
// TODO: add one-time construction code here
}
CTwaintestDoc::~CTwaintestDoc()
{
}
BOOL CTwaintestDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CTwaintestDoc serialization
void CTwaintestDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CTwaintestDoc diagnostics
#ifdef _DEBUG
void CTwaintestDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CTwaintestDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CTwaintestDoc commands
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?