【VC开源代码栏目提醒】:本文主要为网学会员提供CMenu_5Doc.cpp,希望对需要CMenu_5Doc.cpp网友有所帮助,学习一下!
// CMenu_5Doc.cpp : implementation of the CCMenu_5Doc class
//
#include "stdafx.h"
#include "CMenu_5.h"
#include "CMenu_5Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCMenu_5Doc
IMPLEMENT_DYNCREATE(CCMenu_5Doc, CDocument)
BEGIN_MESSAGE_MAP(CCMenu_5Doc, CDocument)
//{{AFX_MSG_MAP(CCMenu_5Doc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCMenu_5Doc construction/destruction
CCMenu_5Doc::CCMenu_5Doc()
{
// TODO: add one-time construction code here
}
CCMenu_5Doc::~CCMenu_5Doc()
{
}
BOOL CCMenu_5Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CCMenu_5Doc serialization
void CCMenu_5Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CCMenu_5Doc diagnostics
#ifdef _DEBUG
void CCMenu_5Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CCMenu_5Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CCMenu_5Doc commands
上一篇:
CMenu_5.cpp
下一篇:
扛起年轻化大旗,哈弗F系玩转行业新风潮