 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Andrea Biasi Guest
|
Posted: Sat May 28, 2005 12:37 pm Post subject: TCppWebBrowser without image |
|
|
Hi,
is possible to view a page without the images?
(without download the images for faster navigation)
Andrea
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sat May 28, 2005 8:14 pm Post subject: Re: TCppWebBrowser without image |
|
|
"Andrea Biasi" <andrea.biasi (AT) cheapnet (DOT) it> wrote
| 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
http://msdn.microsoft.com/workshop/browser/overview/overview.asp
Gambit
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|