Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
i want to integrate an iframe in win32 application(plain c++) which will display an simple web page located on local drive

currently i am using this method
How to Integrate C# Window in C++ Project[^]

i want to know if is there any component i can use more efficiently with vc++
Posted
Comments
Sergey Alexandrovich Kryukov 28-May-12 13:23pm    
How is this article related to your problem? Why iframe? A Web browser renders Web pages, not just iframes...
--SA
01.mandar 29-May-12 4:15am    
I have created an user control application in C# containing a web browser and calling it from VC++ application(non MFC).

1 solution

Please see my comment to the question.
You can always use Microsoft WebBrowser control. Please start here:
http://msdn.microsoft.com/en-us/library/aa752040%28v=vs.85%29[^].

Alternatives include Mozilla ActiveX control, please see:
http://www.adamlock.com/mozilla/control.htm[^].

Another alternative is WebKit, the Open-Source layout engine of Apple Safari and Google Chrome:
http://en.wikipedia.org/wiki/WebKit[^],
http://www.webkit.org/[^].

You can use it on Windows, thanks to the ports to GTK++ and QT, both available for Windows:

http://en.wikipedia.org/wiki/GTK%2B[^],
http://www.gtk.org/[^];

http://en.wikipedia.org/wiki/Qt_%28framework%29[^],
http://qt-project.org/[^].

—SA
 
Share this answer
 
Comments
Maciej Los 28-May-12 18:08pm    
Good links, my 5!
Sergey Alexandrovich Kryukov 28-May-12 19:09pm    
Thank you, Maciej.
--SA
01.mandar 29-May-12 4:07am    
Thanks SA. My 5 Too!!
Sergey Alexandrovich Kryukov 29-May-12 11:59am    
My pleasure.
Good luck, call again.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900