Bmptestdoc.h
上传用户:cjd055
上传日期:2013-04-01
资源大小:608k
文件大小:1k
- // BmpTestDoc.h : interface of the CBmpTestDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_BMPTESTDOC_H__F2A2D323_AFA8_11D3_9460_0000000038B2__INCLUDED_)
- #define AFX_BMPTESTDOC_H__F2A2D323_AFA8_11D3_9460_0000000038B2__INCLUDED_
- #include "HDib.h" // Added by ClassView
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CBmpTestDoc : public CDocument
- {
- protected: // create from serialization only
- CBmpTestDoc();
- DECLARE_DYNCREATE(CBmpTestDoc)
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CBmpTestDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- BOOL m_BM;
- CDib m_Dib;
- virtual ~CBmpTestDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CBmpTestDoc)
- afx_msg void OnFileSave();
- afx_msg void OnFileSaveAs();
- afx_msg void OnPick();
- afx_msg void OnFileOpenc();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_BMPTESTDOC_H__F2A2D323_AFA8_11D3_9460_0000000038B2__INCLUDED_)