// MDI ProjectView.h : interface of the CMDIProjectView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MDIPROJECTVIEW_H__5693B345_CA9B_45C7_AE50_10E071CABDA1__INCLUDED_)
#define AFX_MDIPROJECTVIEW_H__5693B345_CA9B_45C7_AE50_10E071CABDA1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMDIProjectCntrItem;

class CMDIProjectView : public CRichEditView
{
protected: // create from serialization only
	CMDIProjectView();
	DECLARE_DYNCREATE(CMDIProjectView)

// Attributes
public:
	CMDIProjectDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMDIProjectView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
   int add(int x,int y);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMDIProjectView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMDIProjectView)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in MDI ProjectView.cpp
inline CMDIProjectDoc* CMDIProjectView::GetDocument()
   { return (CMDIProjectDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_MDIPROJECTVIEW_H__5693B345_CA9B_45C7_AE50_10E071CABDA1__INCLUDED_)
