Accessing history using CHtmlView (WebBrowser ActiveX control)
-
Problem: I am trying to get an IHTMLWindow2 interface from the WebBrowser control. I am successful at querying for a IWebBrowser2 interface, but I have yet to figure out how to retrieve an IHTMLWindow2 interface. Anyone that has information reguarding this please feel free to respond. Jamie Parent VC++ Software Deveoloper Digital Immersion
-
Problem: I am trying to get an IHTMLWindow2 interface from the WebBrowser control. I am successful at querying for a IWebBrowser2 interface, but I have yet to figure out how to retrieve an IHTMLWindow2 interface. Anyone that has information reguarding this please feel free to respond. Jamie Parent VC++ Software Deveoloper Digital Immersion
I tried to get an IHTMLWindow2 interface using your suggestion, but was unsuccessful. I need to use the function HRESULT IHTMLWindow2::get_history(IOmHistory **p), but I have yet to find a way to reach that interface. Perhaps I am not looking at the right place or that interface is not reachable. I am a little new to this area of VC++, please excuse me if the answer might be apparent.