ED256Doc.h
上传用户:dfwb928
上传日期:2013-04-20
资源大小:228k
文件大小:2k
- // ED256Doc.h : interface of the CED256Doc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_ED256DOC_H__65A4B78F_6B91_11D3_96F0_B4809CB3F4D6__INCLUDED_)
- #define AFX_ED256DOC_H__65A4B78F_6B91_11D3_96F0_B4809CB3F4D6__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #include "dibapi.h"
- class CED256Doc : public CDocument
- {
- protected: // create from serialization only
- CED256Doc();
- DECLARE_DYNCREATE(CED256Doc)
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CED256Doc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- CPalette * GetDocPalette();
- HDIB GetHDIB();
- virtual ~CED256Doc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- HDIB m_hDIB;
- // Generated message map functions
- protected:
- CPalette * m_palDIB;
- void InitDIBData();
- //{{AFX_MSG(CED256Doc)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ED256DOC_H__65A4B78F_6B91_11D3_96F0_B4809CB3F4D6__INCLUDED_)