www.pudn.com > JingXiang-Design-Jeff.rar > designDoc.h


// DesignDoc.h : interface of the CDesignDoc class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_DESIGNDOC_H__E94D220A_24D4_11D4_8C58_BC25C6E83A1C__INCLUDED_) 
#define AFX_DESIGNDOC_H__E94D220A_24D4_11D4_8C58_BC25C6E83A1C__INCLUDED_ 
 
#include "BmpFile.h"	// Added by ClassView 
 
#if _MSC_VER > 1000 
//#include "DesignView.h" 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CDesignDoc : public CDocument 
{ 
protected: // create from serialization only 
	CDesignDoc(); 
	DECLARE_DYNCREATE(CDesignDoc) 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDesignDoc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
 
	BmpFile BitMap; 
	virtual ~CDesignDoc(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CDesignDoc) 
	afx_msg void OnFileOpen(); 
	afx_msg void OnFileClose(); 
	afx_msg void OnUpdateFileClose(CCmdUI* pCmdUI); 
	afx_msg void OnFileSave(); 
	afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI); 
	afx_msg void OnFileSaveAs(); 
	afx_msg void OnUpdateFileSaveAs(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateFileOpen(CCmdUI* pCmdUI); 
	afx_msg void OnFileNew(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DESIGNDOC_H__E94D220A_24D4_11D4_8C58_BC25C6E83A1C__INCLUDED_)