Ok i find the solution.
just include the code behind to register the listener for the web
browser :

nsCOMPtr<nsIWebBrowser> webBrowser =
do_GetService("@mozilla.org/embedding/browser/nsWebBrowser;1");
nsresult rv =
webBrowser->AddWebBrowserListener((nsIWeakReference*)this,
NS_GET_IID(nsIWebProgressListener));

May be in firefox and thunderbird it is done by default...

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

Reply via email to