From: Peter T. <pe...@Pe...> - 2007-02-11 15:18:43
|
I am trying to have an embedded web browser in my wxperl program. The most important thing is I can NOT have Javascript running because it often changes the underlying source of the page and I need to display the original page/html as it is pulled off the web site. I am trying to use HtmlWindow but the images are not displaying, I suspect because HtmlWindow doesn't pull anything off the Internet automatically. Parsing the HTML for img tags and downloading the images separately sounds like a bad idea, mostly because I suspect I would have to match the directory hierarchy of the web server I am pulling from and change any absolute image URLs to relative urls. Are there any suggestions for displaying web pages inside a wxWidgets program? Is there a better way to make HtmlWindow work as a browser, or a better widget? Is there an easy way to embed IE or Firefox in a wxWidgets frame with Javascript disabled (without disabling it for the user's "real" browser as well)? Thanks, Peter Theobald |