A
Agustin
Hi. I'm using the htmlview.dll library to include an HTML native control
in my application. I'm just using it for render html, I download the
pages from the Web not using the navigate dll message (DTM_NAVIGATE) but
using a WebRequest in my application. When I finish download the page I
use the DTM_ADDTEXT mesagge to update the control. The thing is that
when the page has an image (<image src=''></image>) if the src attribute
has an absolute path (http:\\www.ssss.com\imges\hello.gif) the control
render it without problem and display the image, but when it has a
relative path it doesn't display the image.
I saw that using the DTM_NAVIGATE message it display images with
relative path. So I think that the DTM_NAVIGATE message set in some
place the URL to resolve relative paths. The problem is that I don't
want to use the DTM_NAVIGATE messsage. So, is there any way to say the
control how to resolve relative paths? Or to set the URL of the page?
Thank you
in my application. I'm just using it for render html, I download the
pages from the Web not using the navigate dll message (DTM_NAVIGATE) but
using a WebRequest in my application. When I finish download the page I
use the DTM_ADDTEXT mesagge to update the control. The thing is that
when the page has an image (<image src=''></image>) if the src attribute
has an absolute path (http:\\www.ssss.com\imges\hello.gif) the control
render it without problem and display the image, but when it has a
relative path it doesn't display the image.
I saw that using the DTM_NAVIGATE message it display images with
relative path. So I think that the DTM_NAVIGATE message set in some
place the URL to resolve relative paths. The problem is that I don't
want to use the DTM_NAVIGATE messsage. So, is there any way to say the
control how to resolve relative paths? Or to set the URL of the page?
Thank you