www.pudn.com > hongmoyuan.rar   To Read all the content


[file head]:
// hongmoDoc.h : interface of the CHongmoDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_HONGMODOC_H__76684B4B_EA70_40A3_AE37_8DD4AA3A9A87__INCLUDED_)
#define AFX_HONGMODOC_H__76684B4B_EA70_40A3_AE37_8DD4AA3A9A87__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "cdib.h"

class CHongmoDoc : public CDocument
{
protected: // create from serialization only
CHongmoDoc();
DECLARE_DYNCREATE(CHongmoDoc)

// Attributes
public:
int m_nColorIndex;
CDib* m_pDibTest;
int InitDocVariable();
int FreeDocVariable();
CDib* m_pDibInit;

// Operations
public:

// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHongmoDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive&amt; ar);
//}}AFX_VIRTUAL

// Implementation
public:
virtual ~CHongmoDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CD
... ...

[file tail]:
... ...
umpContext&amt; dc) const;
#endif

protected:

// Generated message map functions
protected:
//{{AFX_MSG(CHongmoDoc)
afx_msg void OnFileSaveAs();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HONGMODOC_H__76684B4B_EA70_40A3_AE37_8DD4AA3A9A87__INCLUDED_)