Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages
Started by Andrea Biasi
Sat, 28 May 2005 12:37
TCppWebBrowser without image
Author: Andrea Biasi
Date: Sat, 28 May 2005 12:37
Date: Sat, 28 May 2005 12:37
6 lines
1075 bytes
1075 bytes
Hi, is possible to view a page without the images? (without download the images for faster navigation) Andrea
Re: TCppWebBrowser without image
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads