vonuyx wrote:
Thankyou for your response.
First of all, I dont have the nsIDocShellTreeItem.h file in my Gecko SDK include folder. I guess I just have to get the idl file from mozilla.org and create the appropriate header file?

Yeah... it is not a frozen header file...

1. First take the nsIDOMWindow pointer off the HTML document within
[...]
4. Take the root.

Yeah, that looks right.

And within ::Observe(...), for "domwindowopened" signal, I can do the same for the nsIDOMWindow obtained there. The ROOT nsIDocShellTreeItem pointer should be the same??

Well, that works, but you could also getInterface the nsIDOMWindow from the root, and that should be identical to the window passed to domwindowopened.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to