// mymfc26DView.cpp : implementation of the CMymfc26DView class
//

#include "stdafx.h"
#include "mymfc26D.h"

#include "mymfc26DDoc.h"
#include "mymfc26DView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMymfc26DView

IMPLEMENT_DYNCREATE(CMymfc26DView, CView)

BEGIN_MESSAGE_MAP(CMymfc26DView, CView)
	//{{AFX_MSG_MAP(CMymfc26DView)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CMymfc26DView construction/destruction

CMymfc26DView::CMymfc26DView()
{
	// TODO: add construction code here

}

CMymfc26DView::~CMymfc26DView()
{
}

BOOL CMymfc26DView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CMymfc26DView drawing

void CMymfc26DView::OnDraw(CDC* pDC)
{
	pDC->TextOut(30, 30, "Choose About from the Help menu.");
}

/////////////////////////////////////////////////////////////////////////////
// CMymfc26DView diagnostics

#ifdef _DEBUG
void CMymfc26DView::AssertValid() const
{
	CView::AssertValid();
}

void CMymfc26DView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CMymfc26DDoc* CMymfc26DView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMymfc26DDoc)));
	return (CMymfc26DDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMymfc26DView message handlers

