Здравствуйте, ArGar, Вы писали:
AG>Хм а боллее конкретно куда смотреть мож пример есть? (без MFC)
Как пример. Доступ к images можно получить и другими способами.
LPDISPATCH lpDisp=NULL;
CComQIPtr<IHTMLDocument2> pDoc2;
m_pMainWB->get_Document(&lpDisp);
if(lpDisp)
{
hRes=lpDisp->QueryInterface(IID_IHTMLDocument2,(void**)&pDoc2);
if(SUCCEEDED(hRes))
{
lpDisp->Release();
IHTMLElementCollection* pElemCol;
hRes=pDoc2->get_images(&pElemCol);
if(SUCCEEDED(hRes))
{
long cnt=0;
IHTMLImgElement* pImg=NULL;
_variant_t iInd=0L;
hRes=pElemCol->get_length(&cnt);
for(long i=0;i<cnt;i++){
iInd=i;
hRes=pElemCol->item(iInd,iInd,&lpDisp);
if(SUCCEEDED(hRes))
{
hRes=lpDisp->QueryInterface(IID_IHTMLImgElement,(void**)&pImg);
if(SUCCEEDED(hRes))
{
lpDisp->Release();
hRes=pImg->put_src(_bstr_t("")); // это только пример !!!
}
}
}
}
}
}
Но тут надо понимать, что картинки загружаться из сети будут.
"Чистая работа",имхо, слушать протокол и заменять image на другие тэги.
nothing is hearing