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