MyHTML.cpp
上传用户:szcysw
上传日期:2013-03-11
资源大小:6752k
文件大小:1k
- // MyHTML.cpp : implementation file
- //
- #include "stdafx.h"
- #include "DevDemo.h"
- #include "MyHTML.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CMyHTML
- IMPLEMENT_DYNCREATE(CMyHTML, CHtmlView)
- CMyHTML::CMyHTML()
- {
- //{{AFX_DATA_INIT(CMyHTML)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- }
- CMyHTML::~CMyHTML()
- {
- }
- void CMyHTML::DoDataExchange(CDataExchange* pDX)
- {
- CHtmlView::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CMyHTML)
- // NOTE: the ClassWizard will add DDX and DDV calls here
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CMyHTML, CHtmlView)
- //{{AFX_MSG_MAP(CMyHTML)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CMyHTML diagnostics
- #ifdef _DEBUG
- void CMyHTML::AssertValid() const
- {
- CHtmlView::AssertValid();
- }
- void CMyHTML::Dump(CDumpContext& dc) const
- {
- CHtmlView::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CMyHTML message handlers
- void CMyHTML::OnInitialUpdate()
- {
- //TODO: This code navigates to a popular spot on the web.
- //Change the code to go where you'd like.
- Navigate2(_T("c:\tax.htm"),NULL,NULL);
- }