On Sunday 17 September 2006 18:38, Zeeshan wrote:

Hello,

this method does that:
http://lxr.mozilla.org/seamonkey/source/layout/inspector/src/inLayoutUtils.cpp#60

best regards,
Michal

> I am trying to obtain the corresponding nsIDOMWindow object from a
> nsIDOMHTMLElement object inside an XPCOM component written using C++. I
> looked all over the Mozilla spource code but didn't find any method
> like GetWindow etc for nsIDOMHTMLElement.
>
> Does anybody here know a simple way of doing this?
>
> Thanks in advance,
> -Zeeshan
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to