// mymfc14View.cpp : implementation of the CMymfc14View class
//

#include "stdafx.h"
#include "mymfc14.h"

#include "mymfc14Doc.h"
#include "mymfc14View.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMymfc14View

IMPLEMENT_DYNCREATE(CMymfc14View, CView)

BEGIN_MESSAGE_MAP(CMymfc14View, CView)
	//{{AFX_MSG_MAP(CMymfc14View)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMymfc14View construction/destruction

CMymfc14View::CMymfc14View()
{
	// TODO: add construction code here

}

CMymfc14View::~CMymfc14View()
{
}

BOOL CMymfc14View::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CMymfc14View drawing

void CMymfc14View::OnDraw(CDC* pDC)
{
	CMymfc14Doc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CMymfc14View diagnostics

#ifdef _DEBUG
void CMymfc14View::AssertValid() const
{
	CView::AssertValid();
}

void CMymfc14View::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CMymfc14Doc* CMymfc14View::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMymfc14Doc)));
	return (CMymfc14Doc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMymfc14View message handlers

