// mymfc11View.h : interface of the CMymfc11View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYMFC11VIEW_H__F459683A_2D7F_47CF_AB51_4625F3A9FAAA__INCLUDED_)
#define AFX_MYMFC11VIEW_H__F459683A_2D7F_47CF_AB51_4625F3A9FAAA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CMymfc11View : public CView
{
protected: // create from serialization only
	CMymfc11View();
	DECLARE_DYNCREATE(CMymfc11View)

// Attributes
public:
	CMymfc11Doc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMymfc11View)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMymfc11View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMymfc11View)
	afx_msg void OnDrawCircle();
	afx_msg void OnUpdateDrawCircle(CCmdUI* pCmdUI);
	afx_msg void OnDrawPattern();
	afx_msg void OnUpdateDrawPattern(CCmdUI* pCmdUI);
	afx_msg void OnDrawSquare();
	afx_msg void OnUpdateDrawSquare(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	BOOL m_bPattern;
	BOOL m_bCircle;
	CRect m_rect;
};

#ifndef _DEBUG  // debug version in mymfc11View.cpp
inline CMymfc11Doc* CMymfc11View::GetDocument()
   { return (CMymfc11Doc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYMFC11VIEW_H__F459683A_2D7F_47CF_AB51_4625F3A9FAAA__INCLUDED_)

