HtmlViewEx.cpp
上传用户:bsw_2008
上传日期:2013-07-09
资源大小:2446k
文件大小:2k
- // HtmlViewEx.cpp : implementation file
- //
- #include "stdafx.h"
- #include "CGameHallFrame.h"
- #include "HtmlViewEx.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CHtmlViewEx
- IMPLEMENT_DYNCREATE(CHtmlViewEx, CHtmlView)
- CHtmlViewEx::CHtmlViewEx()
- {
- EnableAutomation();
- //{{AFX_DATA_INIT(CHtmlViewEx)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- }
- CHtmlViewEx::~CHtmlViewEx()
- {
- }
- void CHtmlViewEx::OnFinalRelease()
- {
- // When the last reference for an automation object is released
- // OnFinalRelease is called. The base class will automatically
- // deletes the object. Add additional cleanup required for your
- // object before calling the base class.
- CHtmlView::OnFinalRelease();
- }
- void CHtmlViewEx::DoDataExchange(CDataExchange* pDX)
- {
- CHtmlView::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CHtmlViewEx)
- // NOTE: the ClassWizard will add DDX and DDV calls here
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CHtmlViewEx, CHtmlView)
- //{{AFX_MSG_MAP(CHtmlViewEx)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- BEGIN_DISPATCH_MAP(CHtmlViewEx, CHtmlView)
- //{{AFX_DISPATCH_MAP(CHtmlViewEx)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_DISPATCH_MAP
- END_DISPATCH_MAP()
- // Note: we add support for IID_IHtmlViewEx to support typesafe binding
- // from VBA. This IID must match the GUID that is attached to the
- // dispinterface in the .ODL file.
- // {A67DFE3C-E329-4506-933C-30254610CC4E}
- static const IID IID_IHtmlViewEx =
- { 0xa67dfe3c, 0xe329, 0x4506, { 0x93, 0x3c, 0x30, 0x25, 0x46, 0x10, 0xcc, 0x4e } };
- BEGIN_INTERFACE_MAP(CHtmlViewEx, CHtmlView)
- INTERFACE_PART(CHtmlViewEx, IID_IHtmlViewEx, Dispatch)
- END_INTERFACE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CHtmlViewEx diagnostics
- #ifdef _DEBUG
- void CHtmlViewEx::AssertValid() const
- {
- CHtmlView::AssertValid();
- }
- void CHtmlViewEx::Dump(CDumpContext& dc) const
- {
- CHtmlView::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CHtmlViewEx message handlers