giancarlo wrote (10-3-2009 12:21)
I forgot:
- if I use a variable for window existing: when the window has been
closed, the extension thinks that the window already exists, consequence
-> no window is being created when I click again over the button, after
the window closing
- my extension has a button and a menu entry -> if I click the button
and then the menu entry, I can see two windows, no more than two, so I
think that the extension is running twice -> this is the thing I would
like to avoid
I think that should exist some sdk method which tells us if the
extension has been already activated.
Or am I wrong?
I think so.
The extension is loaded when you start OpenOffice.org.
Whether functions included in the extension are running, and when they
stop, is up to your code.
Ciao,
Cor
--
Cor Nouws - nl.OpenOffice.org marketing contact
= "2009 - Develop OOo" = www.nieuwsteoffice.nl =
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]