// banksvw.cpp : implementation of the CBanksetView class
//

#include "stdafx.h"
#include "bankset.h"

#include "banksdoc.h"
#include "banksvw.h"

#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CBanksetView

IMPLEMENT_DYNCREATE(CBanksetView, CView)

BEGIN_MESSAGE_MAP(CBanksetView, CView)
	//{{AFX_MSG_MAP(CBanksetView)
		// 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_PREVIEW, CView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CBanksetView construction/destruction

CBanksetView::CBanksetView()
{
	// TODO: add construction code here
}

CBanksetView::~CBanksetView()
{
}

/////////////////////////////////////////////////////////////////////////////
// CBanksetView drawing

void CBanksetView::OnDraw(CDC* pDC)
{
	CBanksetDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);

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

/////////////////////////////////////////////////////////////////////////////
// CBanksetView printing

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CBanksetView diagnostics

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CBanksetView message handlers
