Tobias Krais wrote:

> Hi Mathias,
> 
>>>This works perfectly. Nobody is able to kill my little cute programm
>>>:-). But. Users can't close their OpenOffice until I don't remove my
>>>terminate listener. How can I allow users to close their OO and disallow
>>>to close mine?
> 
>> You confuse me. :-)
>> My understanding was that you wanted to prevent exactly this: users
>> closing OOo completely before you are done.
> 
> Oh! It was not my intension to confuse you :-)
> 
>> Ah, maybe the problem is that OOo doesn't close its open windows on
>> "File-Exit" when a terminate listener throws a VetoException? Well, this
>> would be an unfortunate behavior. Or is it something else?
> 
> Thats it. Is there a way to let OO close the open window but to stay in 
> memory?

If a terminate listener prevents windows from becoming closed: not
without changing the source, I'm afraid. I had a quick look into the
source: it seems so. I have to think wether this is a bug or not.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to