Click to See Complete Forum and Search --> : IHTMLDocument2, IWebBrowser2


Tchek
June 19th, 2006, 04:58 PM
Does anybody know how to get those interfaces from System::Windows::Forms::WebBrowser ?

In MSDN was written the next:
HtmlDocument is based on the unmanaged interfaces implemented by Internet Explorer's DHTML DOM:
IHTMLDocument, IHTMLDocument2, IHTMLDocument3, and IHTMLDocument4. Only the most frequently used
properties and methods on these unmanaged interfaces are exposed by HtmlDocument. You can access
all other properties and methods directly using the DomDocument property, which you can cast to
the desired unmanaged interface pointer.


DomDocument has type System::Object^...
How can I cast it to unmanaged IHTMLDocument2* ?
Thanks