getlinkdoc.cpp

来自「對網只操作的函數,很不錯」· C++ 代码 · 共 97 行

CPP
97
字号
// GetLinkDoc.cpp : implementation of the CGetLinkDoc class
//

#include "stdafx.h"
#include "GetLink.h"
#include "GetLinkDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CGetLinkDoc

IMPLEMENT_DYNCREATE(CGetLinkDoc, CDocument)

BEGIN_MESSAGE_MAP(CGetLinkDoc, CDocument)
	//{{AFX_MSG_MAP(CGetLinkDoc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CGetLinkDoc construction/destruction

CGetLinkDoc::CGetLinkDoc()
{
	// TODO: add one-time construction code here
	
	m_nNO = 0;
	m_strName = _T("");
	m_Mark = _T("");
	m_Type1 = _T("");
	m_Type2 = _T("");
	m_Type3 = _T("");
	iItem = -1;
	iTotal = 0;
	m_Act=_T("");
	m_ViewType=_T("");
	OnUpdate = FALSE;
}

CGetLinkDoc::~CGetLinkDoc()
{
}

BOOL CGetLinkDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CGetLinkDoc serialization

void CGetLinkDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CGetLinkDoc diagnostics

#ifdef _DEBUG
void CGetLinkDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CGetLinkDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CGetLinkDoc commands


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?