www.pudn.com > assigment1.zip > myGraphicsDoc.h
// myGraphicsDoc.h : interface of the CMyGraphicsDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MYGRAPHICSDOC_H__DBE357AB_12FC_4AD5_AFCA_4B01637C12AC__INCLUDED_)
#define AFX_MYGRAPHICSDOC_H__DBE357AB_12FC_4AD5_AFCA_4B01637C12AC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMyGraphicsDoc : public CDocument
{
protected: // create from serialization only
CMyGraphicsDoc();
DECLARE_DYNCREATE(CMyGraphicsDoc)
// Attributes
public:
int mCurrent;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyGraphicsDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
// CPoint m_points[30];
BOOL mFlag;
virtual ~CMyGraphicsDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMyGraphicsDoc)
afx_msg void OnDrawPolygon();
afx_msg void OnEditClearall();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYGRAPHICSDOC_H__DBE357AB_12FC_4AD5_AFCA_4B01637C12AC__INCLUDED_)