www.pudn.com > MySee_Snake.rar > MySeeDoc.h


// MySeeDoc.h : interface of the CMySeeDoc class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MYSEEDOC_H__80CBFA4C_355D_41D8_9E2F_49A0A9EF0C90__INCLUDED_) 
#define AFX_MYSEEDOC_H__80CBFA4C_355D_41D8_9E2F_49A0A9EF0C90__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CMySeeDoc : public CDocument 
{ 
protected: // create from serialization only 
	CMySeeDoc(); 
	DECLARE_DYNCREATE(CMySeeDoc) 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMySeeDoc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	BITMAPFILEHEADER bf; 
	BITMAPINFOHEADER bi; 
	RGBQUAD* quad; 
	BYTE* lpBuf;	//ͼÏóÊý¾Ý 
	BYTE* lpBuf_copy; 
	BITMAPINFO* pbi; 
	int flag; 
	int numQuad; 
	virtual ~CMySeeDoc(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMySeeDoc) 
	afx_msg void OnFileOpen(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MYSEEDOC_H__80CBFA4C_355D_41D8_9E2F_49A0A9EF0C90__INCLUDED_)