Re: RClick on CWebBrowser2
Did you ever figure this out? please let me know!
Re: RClick on CWebBrowser2
Re: RClick on CWebBrowser2
All these articles are good, but they don't tell you everything. I wanted to insert the webbrowser object in a MFC DLL with minimal impact on the calling application.
Finally, I used the DocHostUIHandler method.
I derived a class from IDocHostUIHandler, made it a friend of my view class. Kept a pointer of my view class inside the derived class. Initialized it. When I right-click occurs, I call a function of the my view class.
I hope this helps.
I found that this technique works easily as compared to using CustSite way.
Regards.