// NtKgsView.cpp : implementation of the CNtKgsView class
//

#include "stdafx.h"
#include "NtKgs.h"

#include "NtKgsDoc.h"
#include "NtKgsView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CNtKgsView

IMPLEMENT_DYNCREATE(CNtKgsView, CView)

BEGIN_MESSAGE_MAP(CNtKgsView, CView)
	//{{AFX_MSG_MAP(CNtKgsView)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CNtKgsView construction/destruction

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

}

CNtKgsView::~CNtKgsView()
{
}

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

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CNtKgsView drawing

void CNtKgsView::OnDraw(CDC* pDC)
{
	CNtKgsDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);

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

/////////////////////////////////////////////////////////////////////////////
// CNtKgsView diagnostics

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CNtKgsView message handlers
