// myex36bView.cpp : implementation of the CMyex36bView class
//

#include "stdafx.h"
#include "myex36b.h"

#include "myex36bDoc.h"
#include "myex36bView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMyex36bView

IMPLEMENT_DYNCREATE(CMyex36bView, CHtmlView)

BEGIN_MESSAGE_MAP(CMyex36bView, CHtmlView)
	//{{AFX_MSG_MAP(CMyex36bView)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CMyex36bView construction/destruction

CMyex36bView::CMyex36bView()
{
	// TODO: add construction code here

}

CMyex36bView::~CMyex36bView()
{
}

BOOL CMyex36bView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CHtmlView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CMyex36bView drawing

void CMyex36bView::OnDraw(CDC* pDC)
{
	CMyex36bDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
}

void CMyex36bView::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://www.microsoft.com/windows/ie/"),NULL,NULL);
}

/////////////////////////////////////////////////////////////////////////////
// CMyex36bView printing


/////////////////////////////////////////////////////////////////////////////
// CMyex36bView diagnostics

#ifdef _DEBUG
void CMyex36bView::AssertValid() const
{
	CHtmlView::AssertValid();
}

void CMyex36bView::Dump(CDumpContext& dc) const
{
	CHtmlView::Dump(dc);
}

CMyex36bDoc* CMyex36bView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMyex36bDoc)));
	return (CMyex36bDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMyex36bView message handlers

