Archived

This topic is now archived and is closed to further replies.

Displaying html/browsing the net in Win32

This topic is 5626 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know or can anyone point me to some information on creating a HtmlCtrl in Win32? I can do it in mfc using a CHtmlView derived class but as its derived from an already existing class for doing this I dont really have a clue as to how to go about creating my own. Ive tried using the class in a win32 project but after many hours of trying to get Win32 and mfc to work together it seems impossible to get the CHtmlView class to work with win32. I really dont know where to start in getting a control/window to display html pages without using mfc. Any help is gratefully recieved Thankyou for your time

Share this post


Link to post
Share on other sites
Well, not too sure how it works, but most applications that implement web browsing/a web-like interface (With XML mostly) use Internet Explorer''s server. You should check the MSDN for more info on how to embed it in your own application.


- Goblineye Entertainment
The road to success is always under construction

Share this post


Link to post
Share on other sites
The only way to do it without using a class that's already made to do it, is to parse the html text yourself, then draw the page in a normal window's client area. Good luck with that, it's a whole lot of work.

You'd essentially be writing internet explorer from scratch.

[edited by - cgoat on July 24, 2002 1:42:42 PM]

Share this post


Link to post
Share on other sites
Thanks for the replies guys. I guess if its going to take that much work to get up and running what ive already got working with mfc its just going to be easier to sort out my mfc problems.

Cheers

Share this post


Link to post
Share on other sites
If you decide to go with the built in interface to internet explorer, then beware that (in the best traditions of MS Windows) this library is full of bugs. It leaks memory and resources, crashes and so on. etc. I''ve had very rough time with it recently.

M



Share this post


Link to post
Share on other sites