【VC开源代码栏目提醒】:网学会员为广大网友收集整理了,BaseToolbarDoc.cpp,希望对大家有所帮助!
// BaseToolbarDoc.cpp : implementation of the CBaseToolbarDoc class
//
#include "stdafx.h"
#include "BaseToolbar.h"
#include "BaseToolbarDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBaseToolbarDoc
IMPLEMENT_DYNCREATE(CBaseToolbarDoc, CDocument)
BEGIN_MESSAGE_MAP(CBaseToolbarDoc, CDocument)
//{{AFX_MSG_MAP(CBaseToolbarDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CBaseToolbarDoc construction/destruction
CBaseToolbarDoc::CBaseToolbarDoc()
{
// TODO: add one-time construction code here
}
CBaseToolbarDoc::~CBaseToolbarDoc()
{
}
BOOL CBaseToolbarDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CBaseToolbarDoc serialization
void CBaseToolbarDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CBaseToolbarDoc diagnostics
#ifdef _DEBUG
void CBaseToolbarDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CBaseToolbarDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CBaseToolbarDoc commands
上一篇:
BaseToolbar.cpp
下一篇:
[博士论文]青春期叛逆现象发生的生理基础