Hi Andreas,
Andreas Schlüns wrote:
Harald Weyhing schrieb:
Carsten Driesner wrote:
Harald Weyhing wrote:
Hi everybody,
I need to disable or better remove the small "x" like icon on the
upper right. I tried to intercept .uno.CloseDoc, but this will only
intercepts Ctrl-W, but not when you click the "x".
I am using OOo 2.0.3 and OOoBean.
Any help would be greatly appreciated.
Hi Harald,
Unfortunately this is currently not possible. We working on a
solution for OOo 2.1, where you could intercept ".uno:CloseFrame".
There won't be an option to remove the small "x" on the menu bar.
The fix is on the way to an OOo 2.1 version ...
but instead of ".uno:CloseFrame" the URL, which has to be intercepted
will be ".uno:CloseWin".
Okay, I will modify my code and hope for a soon release of OOo 2.1 :)
Regards,
Carsten
Hi Carsten,
thanks for your quick reply, even though this is not good news. Well,
Seems that I have to wait for 2.1 then or find some nice workaround.
If so, I will post it to the list.
There is no workaround available .-)
BTW: If you disable the function behind this special closer, +
you redefine the whole shutdown scenario of OOo.
E.g. closing of the last open office window will shutdown the whole
process ...
You should know, what you are doing there before you disable this
functionality .-))
I know that and actually modified OOoBean code to be able to terminat
OOo from Java within a ShutdownHook - works nicely. I need to prevent
that a user can hit this "x", because this has some really strange
effects on OOo. For example: we removed some menu entries like "save",
"save as" and so on, but after you hit "x" you can see an empty
Office-Frame with all menus enabled, and you can even load files from
the file system... what should never be possible in my application.
Anyway, thanks for your answer.
Cheers
Harald
Cheers
Harald
Regards
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]