Hi,
I am writing a Tray Icon XPCOM component, which I intend to use in
XULRunner for a simple Reminder application.
First, my XUL window will call getService to retrieve the XPCOM component
and passes a Javascript callback to the XPCOM component to receive
notification messages when the Tray Icon is double-clicked upon.
However, when my XPCOM component receives a double-click event and I
call the Javascript callback, the focus on the XUL window is lost (as the
double-clicking happens on the tray icon). I am not able to regain focus on
the XUL window by calling window.focus() from my Javascript callback.
Please advise on what I can do to solve this. Thanks in advance.
Regards,
Kok Hoor
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom