TabHtmlPage.cpp
上传用户:hjw22cn
上传日期:2007-01-11
资源大小:192k
文件大小:1k
- // TabHtmlPage.cpp : implementation file
- //
- #include "stdafx.h"
- #include "formview.h"
- #include "TabHtmlPage.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CTabHtmlPage dialog
- CTabHtmlPage::CTabHtmlPage(CWnd* pParent /*=NULL*/)
- : CDialog(CTabHtmlPage::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CTabHtmlPage)
- //}}AFX_DATA_INIT
- }
- void CTabHtmlPage::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CTabHtmlPage)
- DDX_Control(pDX, IDC_EXPLORER1, m_ctrlHtml);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CTabHtmlPage, CDialog)
- //{{AFX_MSG_MAP(CTabHtmlPage)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CTabHtmlPage message handlers
- BOOL CTabHtmlPage::OnInitDialog()
- {
- CDialog::OnInitDialog();
- COleVariant noArg;
- m_ctrlHtml.Navigate("http://msdn.microsoft.com/", &noArg, &noArg, &noArg, &noArg);
-
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }