vonuyx wrote:
MyComponent::OnStateChange(
    nsIWebProgress*    aWebProgress,

The question is: how can I determine, within the MyComponent::OnStateChange method, in which browser window (from the list I have obtained before) the web-browsing process is taking place?

See the nsIWebProgress interface. It has a DOMWindow property (depending on what's in your list, this may be a subframe of a window in your list, of course).

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

Reply via email to