// myex36aView.cpp : implementation of the CMyex36aView class
//

#include "stdafx.h"
#include "myex36a.h"

#include "myex36aDoc.h"
#include "myex36aView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMyex36aView

IMPLEMENT_DYNCREATE(CMyex36aView, CHtmlView)

BEGIN_MESSAGE_MAP(CMyex36aView, CHtmlView)
	//{{AFX_MSG_MAP(CMyex36aView)
		// 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, CHtmlView::OnFilePrint)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMyex36aView construction/destruction

CMyex36aView::CMyex36aView()
{
	// TODO: add construction code here

}

CMyex36aView::~CMyex36aView()
{
}

BOOL CMyex36aView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CHtmlView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CMyex36aView drawing

void CMyex36aView::OnDraw(CDC* pDC)
{
	CMyex36aDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
}

void CMyex36aView::OnInitialUpdate()
{
	CHtmlView::OnInitialUpdate();

	// TODO: This code navigates to a popular spot on the web.
	//  change the code to go where you'd like.
	Navigate2(_T("http://msdn.microsoft.com/visualc/"),NULL,NULL);
}

/////////////////////////////////////////////////////////////////////////////
// CMyex36aView printing


/////////////////////////////////////////////////////////////////////////////
// CMyex36aView diagnostics

#ifdef _DEBUG
void CMyex36aView::AssertValid() const
{
	CHtmlView::AssertValid();
}

void CMyex36aView::Dump(CDumpContext& dc) const
{
	CHtmlView::Dump(dc);
}

CMyex36aDoc* CMyex36aView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMyex36aDoc)));
	return (CMyex36aDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMyex36aView message handlers

