// mfclocauView.cpp : implementation of the CMfclocauView class
//

#include "stdafx.h"
#include "mfclocau.h"

#include "mfclocauDoc.h"
#include "mfclocauView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMfclocauView

IMPLEMENT_DYNCREATE(CMfclocauView, CView)

BEGIN_MESSAGE_MAP(CMfclocauView, CView)
	//{{AFX_MSG_MAP(CMfclocauView)
		// 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
	// Standard printing commands
	ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMfclocauView construction/destruction

CMfclocauView::CMfclocauView()
{
	// TODO: add construction code here

}

CMfclocauView::~CMfclocauView()
{
}

BOOL CMfclocauView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CMfclocauView drawing

void CMfclocauView::OnDraw(CDC* pDC)
{
	CMfclocauDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);

	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CMfclocauView printing

BOOL CMfclocauView::OnPreparePrinting(CPrintInfo* pInfo)
{
	// default preparation
	return DoPreparePrinting(pInfo);
}

void CMfclocauView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add extra initialization before printing
}

void CMfclocauView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add cleanup after printing
}

/////////////////////////////////////////////////////////////////////////////
// CMfclocauView diagnostics

#ifdef _DEBUG
void CMfclocauView::AssertValid() const
{
	CView::AssertValid();
}

void CMfclocauView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CMfclocauDoc* CMfclocauView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMfclocauDoc)));
	return (CMfclocauDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMfclocauView message handlers
