Board index » cppbuilder » TCppWebBrowser without image

TCppWebBrowser without image


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

Re:TCppWebBrowser without image

"Andrea Biasi" < XXXX@XXXXX.COM >wrote in message
Quote
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
details:
About the Browser
msdn.microsoft.com/workshop/browser/overview/overview.asp
Gambit