Embedding an Internet Explorer control - C++ WinAPI

后端 未结 2 965
刺人心
刺人心 2020-12-05 21:53

How can I embed an Internet Explorer control into my application using C++/WinAPI?

I swear I have searched; I can\'t find any documentation on this.

相关标签:
2条回答
  • 2020-12-05 22:02

    I've been searching for this too, some useful links:

    IWebBrowser2: how to force links to open in new window?

    http://www.codeproject.com/Articles/1788/Loading-and-parsing-HTML-using-MSHTML-3rd-way

    http://www.codeproject.com/Articles/3919/Using-the-WebBrowser-control-simplified

    From what I remember it was most useful to implement the IHTMLDocument interface instead of the full web browser.

    Good luck!

    0 讨论(0)
  • 2020-12-05 22:21

    Try these:

    • Embed an HTML control in your own window using plain C
    • Programming the MSHTML Web Browser Control with C++

    Since interacting with controls such as these requires COM/COM+ programming, you could also benefit from learning those methods as well.

    0 讨论(0)
提交回复
热议问题