Board index » cppbuilder » TCppWebBrowser without image

TCppWebBrowser without image

2005-05-28 08:37:09 PM
is possible to view a page without the images?
(without download the images for faster navigation)

Re:TCppWebBrowser without image

"Andrea Biasi" < XXXX@XXXXX.COM >wrote in message
is possible to view a page without the images?
Yes, but it is not trivial to implement. You have to write your own
IOleClientSite derived class, and then pass it to the browser by first
querying the browser for its IOleObject interface and then calling its
SetClientSite() method. Once that is done, then inside your
IOleClientSite's Invoke() method, when the browser is querying the
DISPID_AMBIENT_DLCONTROL property, you can omit the DLCTL_DLIMAGES flag in
your return value to make the browser not download images.
Refer to the "Download Control" section of the following article for more
About the Browser