summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_ieembed.h
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-08-10 12:16:50 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-08-10 12:16:50 +0000
commit328f3691c1a59fe92104d15a088293ef9d59d44d (patch)
tree99b36413ce51b1c05c05ef7e9059b2e7f886e4d3 /protocols/MSN/src/msn_ieembed.h
parent6f22e0c5fc96941c1016d87427406e814952696b (diff)
Fixed MSN IEEmbed window to support accelerator keys.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14896 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_ieembed.h')
-rw-r--r--protocols/MSN/src/msn_ieembed.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/protocols/MSN/src/msn_ieembed.h b/protocols/MSN/src/msn_ieembed.h
index 76442b691d..2726fced13 100644
--- a/protocols/MSN/src/msn_ieembed.h
+++ b/protocols/MSN/src/msn_ieembed.h
@@ -77,9 +77,9 @@ public:
STDMETHODIMP_(void)FileDownload(VARIANT_BOOL*);
};
-class IEEmbed :public IDispatch, public IOleClientSite, public IOleInPlaceSite //, public IDocHostUIHandler
+class IEEmbed :public IDispatch, public IOleClientSite, public IOleInPlaceSite
{
-public:
+private:
HWND parent;
HWND hwnd;
int m_cRef;
@@ -88,7 +88,9 @@ public:
CComPtr<IConnectionPoint> m_pConnectionPoint;
CComPtr<IWebBrowser2> pWebBrowser;
IEEmbedSink *sink;
+ WNDPROC mainWndProc, docWndProc, serverWndProc;
+public:
// IUnknown
STDMETHODIMP QueryInterface(REFIID riid, PVOID *ppv);
STDMETHODIMP_(ULONG) AddRef(void);
@@ -128,6 +130,13 @@ public:
IEEmbed(HWND _parent);
virtual ~IEEmbed();
+ void setMainWndProc(WNDPROC);
+ WNDPROC getMainWndProc();
+ void setDocWndProc(WNDPROC);
+ WNDPROC getDocWndProc();
+ void setServerWndProc(WNDPROC);
+ WNDPROC getServerWndProc();
+
void ResizeBrowser();
void navigate(const wchar_t *);
void navigate(char *url);
@@ -136,5 +145,6 @@ public:
void addCookie(const wchar_t *cookieString);
BSTR getCookies();
char* GetHTMLDoc();
+ void translateAccelerator(UINT uMsg, WPARAM wParam, LPARAM lParam);
};
#endif