www.pudn.com > spline_c++.rar > pic02Doc.h


// pic02Doc.h : interface of the CPic02Doc class 
// 
///////////////////////////////////////////////////////////////////////////// 
#include "DIBAPI.h" 
#if !defined(AFX_PIC02DOC_H__46BE1B3A_393A_4F8C_8E15_DA9694996670__INCLUDED_) 
#define AFX_PIC02DOC_H__46BE1B3A_393A_4F8C_8E15_DA9694996670__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CPic02Doc : public CDocument 
{ 
protected: // create from serialization only 
	CPic02Doc(); 
	DECLARE_DYNCREATE(CPic02Doc) 
 
// Attributes 
public: 
	HDIB GetHDIB() const 
		{ return m_hDIB; } 
	CPalette* GetDocPalette() const 
		{ return m_palDIB; } 
	CSize GetDocSize() const 
		{ return m_sizeDoc; } 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CPic02Doc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void InitDIBData(); 
	virtual ~CPic02Doc(); 
	COLORREF m_refColorBKG;	 
	 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
	HDIB m_hDIB; 
	CPalette* m_palDIB; 
	CSize m_sizeDoc; 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CPic02Doc) 
		// 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 Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_PIC02DOC_H__46BE1B3A_393A_4F8C_8E15_DA9694996670__INCLUDED_)