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