IEBrowser gets the external object. Nothing else.

This commit is contained in:
MusicalProgrammer
2019-11-02 14:51:44 -04:00
parent d8ba0dcfc8
commit 08d8dc4df0
5 changed files with 60 additions and 16 deletions

View File

@@ -2,7 +2,7 @@
#pragma once
#include <mshtml.h>
#include <exdisp.h>
//#include <Mshtmhst.h>
#include <Mshtmhst.h>
class IEBrowser {
public:
@@ -14,4 +14,10 @@ class IEBrowser {
IWebBrowser2* webBrowser;
HWND hwnd;
IDispatch* spDocument;
IHTMLDocument* spDocument2;
IDocHostUIHandler* m_spHandler;
IDispatch* m_spExternal;
IDispatch* m_newExternal;
IOleClientSite* m_spDefaultDocHostUIHandler;
int setExternal(IDispatch** ext);
};