I want to display a simple web page in my Win32 application.
I have read this question
IWebBrowser2: how to force links to open in new window?
I want to do exactly stated in the reply of the question, but havn't found a code example.
Is there a simple example which shows how to use IHTMLDocument instead of IWebBrowser2 to render HTML documents inside a Win32 application.
IHTMLDocument is a non-visual component and so cannot do what you ask. IWebBrowser2 is the visual component that you need.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.