hi im developing ie toolbar in c sharp accesses html source of page displayed in ie , process it. i'm relying on ondocumentcomplete event handler. when fired, html source taken. have trouble pages having frames since ondocumentcomplete fired each frame, last being outter frame, window. in order tackle did -
public void ondocumentcomplete(object pdisp, ref object url) { if (pdisp.equals(explorer.iwebbrowser_parent)) { // check frames n source of } else // ignore }
like able source of frames. problem pages have frame or iframe, ondocumentcomplete not fired window. above code not process such e.g - http://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro fires ondocumplete url, clicking on edit , click me button though reloads frame, doesnt fire ondocumentcomplete window. how work around this?
the question seems be: how know when stop receiving data request?
if phrase that, may able apprehend when do, aka, not getting more data (set timer check that), or connection page closes, etc.
Comments
Post a Comment