BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TCppWebBrowser without image

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web)
View previous topic :: View next topic  
Author Message
Andrea Biasi
Guest





PostPosted: Sat May 28, 2005 12:37 pm    Post subject: TCppWebBrowser without image Reply with quote



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





PostPosted: Sat May 28, 2005 8:14 pm    Post subject: Re: TCppWebBrowser without image Reply with quote




"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.