CreatBMPDoc.cpp
资源名称:CreatBMP.rar [点击查看]
上传用户:hfwmdy
上传日期:2016-01-14
资源大小:83k
文件大小:2k
源码类别:
GDI/图象编程
开发平台:
Visual C++
- // CreatBMPDoc.cpp : implementation of the CCreatBMPDoc class
- //
- #include "stdafx.h"
- #include "CreatBMP.h"
- #include "CreatBMPDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CCreatBMPDoc
- IMPLEMENT_DYNCREATE(CCreatBMPDoc, CDocument)
- BEGIN_MESSAGE_MAP(CCreatBMPDoc, CDocument)
- //{{AFX_MSG_MAP(CCreatBMPDoc)
- // 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()
- /////////////////////////////////////////////////////////////////////////////
- // CCreatBMPDoc construction/destruction
- CCreatBMPDoc::CCreatBMPDoc()
- {
- // TODO: add one-time construction code here
- }
- CCreatBMPDoc::~CCreatBMPDoc()
- {
- }
- BOOL CCreatBMPDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CCreatBMPDoc serialization
- void CCreatBMPDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CCreatBMPDoc diagnostics
- #ifdef _DEBUG
- void CCreatBMPDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CCreatBMPDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CCreatBMPDoc commands