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?
Thanks, all you are so helpful
Cor Nouws wrote:
Hi giancarlo,
giancarlo wrote (10-3-2009 11:45)
When I click over my extension button, a little window is being
created. My problem is that I want this window can be created only
once and not each time I click the button.
Suggestions?
You could set a global var when initializing the window.
Then when starting the window is triggered again, the value of the
variable shows that you have to quit initializing the window.
Regards,
Cor
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]