yueweng wrote:

I try to capture the event when the webpage has changed by implementing "nsIWebProgressListener". However, I could not get it to work.
The following is my code. Anyone knows what more do I need to do in order to start receiving events?


You need to inherit your object from nsSupportsWeakReference and update your choice of QueryInterface implementation accordingly. Then you need to create an instance of your object and register it with a document loader (nsIWebProgress interface) for progress notifications. I'm afraid I can't tell you where you would get a document loader from.

--
Warning: May contain traces of nuts.
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to