Not DOM Events.In the C++ XPCom ,I have defined some status,just
like something has begined ,the status is 1,something is busy,then the
status is 2,…….When the status has changed,I want to notify the
HTML or let javascript code check the changes immediately,then the
webpage can make some changes along with it.

If you want to notify a web page that something has change then it sounds like DOM events is what you want to use. The issue is just how to get hold of the web page that you want to notify of the change. Or do you want to notify all pages that the user currently has open?

How are you using xpcom? Are you embedding gecko in your product, or are you writing some sort of extension to firefox?

/ Jonas
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to