Thankyou very much for your help. Would you please explain how to do this in more details because I am afraid I did not understand what you really meant.
I would appriciate very much your help.
Vonuyx

Boris wrote:

vonuyx wrote:

The question may be changed into: having the IDOMWindow of the WHOLE web browser window, how can I obtain the interface to the HTML contained in it?


You don't, especially since there may be arbitrarily many HTML documents within a single web browser window (think frames, tabs, etc).

What you want to do is to get the root docshell tree item from your HTML document's docshell (which you can get to off the window via GetInterface, iirc).

-Boris

_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to