Article View: borland.public.cppbuilder.internet.web
Article #1147Re: TCppWebBrowser without image
From: Remy Lebeau (TeamB)
Date: Sat, 28 May 2005 20:14
Date: Sat, 28 May 2005 20:14
22 lines
1834 bytes
1834 bytes
"Andrea Biasi" <andrea.biasi@cheapnet.it> wrote in message
news:429865f3$1@newsgroups.borland.com...
> 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
Technical Details
Message-ID:
<4298d148@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!news.netcologne.de!nhp.netcologne.de!195.62.97.7.MISMATCH!newsfeed.kamp.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<429865f3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,e0d67bbad4677253 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <429865f3$1@newsgroups.borland.com> Subject: Re: TCppWebBrowser without image Date: Sat, 28 May 2005 13:14:55 -0700 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <4298d148@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1117311304 68.69.17.41 (28 May 2005 13:15:04 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!news.netcologne.de!nhp.netcologne.de!195.62.97.7.MISMATCH!newsfeed.kamp.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail