www.pudn.com > readBmp.rar.rar > fgbmptestDoc.cpp
// fgbmptestDoc.cpp : implementation of the CFgbmptestDoc class
//
#include "stdafx.h"
#include "fgbmptest.h"
#include "fgbmptestDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFgbmptestDoc
IMPLEMENT_DYNCREATE(CFgbmptestDoc, CDocument)
BEGIN_MESSAGE_MAP(CFgbmptestDoc, CDocument)
//{{AFX_MSG_MAP(CFgbmptestDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CFgbmptestDoc construction/destruction
CFgbmptestDoc::CFgbmptestDoc()
{
// TODO: add one-time construction code here
}
CFgbmptestDoc::~CFgbmptestDoc()
{
}
BOOL CFgbmptestDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CFgbmptestDoc serialization
void CFgbmptestDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CFgbmptestDoc diagnostics
#ifdef _DEBUG
void CFgbmptestDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CFgbmptestDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CFgbmptestDoc commands