【VC开源代码栏目提醒】:网学会员--在 VC开源代码编辑为广大网友搜集整理了:CShrinkDoc.cpp绩等信息,祝愿广大网友取得需要的信息,参考学习。
// CShrinkDoc.cpp : implementation of the CCShrinkDoc class
//
#include "stdafx.h"
#include "CShrink.h"
#include "CShrinkDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCShrinkDoc
IMPLEMENT_DYNCREATE(CCShrinkDoc, CDocument)
BEGIN_MESSAGE_MAP(CCShrinkDoc, CDocument)
//{{AFX_MSG_MAP(CCShrinkDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCShrinkDoc construction/destruction
CCShrinkDoc::CCShrinkDoc()
{
// TODO: add one-time construction code here
}
CCShrinkDoc::~CCShrinkDoc()
{
}
BOOL CCShrinkDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CCShrinkDoc serialization
void CCShrinkDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CCShrinkDoc diagnostics
#ifdef _DEBUG
void CCShrinkDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CCShrinkDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CCShrinkDoc commands
上一篇:
CShrink.cpp
下一篇:
致享和威驰哪个好点?冲着安全和空间 推荐致享