Jump to content
Tuts 4 You
Sign in to follow this  
LCF-AT

How to integrate a browser into app?

Recommended Posts

LCF-AT

Hi guys,

I am looking for any engine to build a browser in a app window for MASM.I found some example sources using some IWebBrowser2 (IWB2.inc) but it has no descriptions inside how to use it etc.Just would like to know if there are any hlp file to download to know how to work with it?Also wanna know how save it is using something like this.If I see it right then its using the IE stuff for browsing.In this case I also dont know whether its doable to create a own popupmenu sending data to my app itself you know.Not sure about that yet.Maybe anyone has some hints for me.Below I did attach a example source I found.

9957_Browsertest.zip

greetz

Share this post


Link to post
atom0s

There are more detailed articles covering this in C++ but you should be able to port to your needs. Basically, IWebBrowser2 is just a headless object that manages doing all the work of the browser but with no output/display. You are in charge of linking it to other interfaces to get it to render as you need to.

Here's two articles that cover the other interfaces that can be used to link it to an existing window:

https://www.codeproject.com/Tips/800585/Embedded-WebBrowser-IWebBrowser-in-Pure-Cplusplus
https://www.codeproject.com/Articles/3365/Embed-an-HTML-control-in-your-own-window-using-pla

From those, you can see the other interfaces needed and look up other MASM examples that may use them specifically. 

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×
×
  • Create New...