Search code examples
c++comiwebbrowser2

IWebBrowser2 issues - how to open documents in new windows?


I have IWebBrowser2 ctrl embedded into my own dialog. I want to simply display a promo banner within it from my url. How to disable all popup menu items from the control and force it to open links in new window (currently when I click on link in the banner, it is being opened within the same control). Regards Dominik


Solution

  • Have a look at the following article:

    WebBrowser Customization