Hello.
 
I'm writing a browser helper object (not using MFC)
which I want to handle images contained in html.

I have a class declared like this:
class ATL_NO_VTABLE CImgControl :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CImgControl, &CLSID_ImgControl>,
public IObjectWithSiteImpl<CImgControl>,
public IDispatchImpl<IImgControl, &IID_IImgControl, LIBID_ImgControlLib>
{
...
};
 
I use an IConnectionPointContainer to receive the connection point
for WebBrowser events and in the Invoke() method I handle these events.
 
The question is how do I intercept images download as the messages received
from the webbrowser seem to refer to the whole document? I would like to redirect
the IE from some images (doing a check based on their URL) to other images stored
on disk.
 
Any hints will be highly appreciated.
Thank you.
 
Paul
 


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software =re

Reply via email to