mshtml w/o WebBrowser
From: Hockey (Hockey_at_discussions.microsoft.com)
Date: 08/14/04
- Next message: Carl Huff: "Extracting DHTML as Ascii Text"
- Previous message: nop90: "Re: Annoying IE error dialogs"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 14 Aug 2004 04:05:01 -0700
I'm interested in basically writting a MFC CHtmlView class but instead of
using IWebBrowser2 I would like to use IHtmlDocument2.
I don't need inplace linking and such and I just want a more compact control.
If I understand correctly, this is possible, i've already stripped CHtmlView
(my version) down to nothing, deriving it from CView instead of CFormView
like CHtmlView does.
The code ASSERT's deep inside the MFC source and as far as I can tell it is
caused by CLSID_HTMLDocument and it's associated IHTMLDocument interface
don't have an dispinterface???
Basically I have used the same code from CHtmlView, but stripped down and
instead of using IWebBrowser2 and CLSID_WebBrowser for params to
CoCreateInstance() I use IHtmlDocument. etc...
Is what I am trying to do even possible? I would like a light(er) weight
control of IWebBrowser2 and I think mshtml suitd me perfectly...
Thanks in advance
- Next message: Carl Huff: "Extracting DHTML as Ascii Text"
- Previous message: nop90: "Re: Annoying IE error dialogs"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|