Good one! After reading the link you posted here, I've found other interested link in the OOo forums:
http://www.oooforum.org/forum/viewtopic.phtml?p=109579 Now I know how to prevent whatever menu (or toolbar) action :-) Thank you Harald, Harald Weyhing wrote: > Well, > > this should give you a start: > http://www.oooforum.org/forum/viewtopic.phtml?t=39642&highlight=intercept+uno > > > Cheers > Harald > > > > Jordi Sanchez schrieb: >> Thank you Harald, >> >> Could you give me some example (code snippet) or link to it for >> intercepting this "action". >> >> Thanks in advance. >> >> Harald Weyhing wrote: >> >>> Hi Jordi, >>> >>> since OOo 2.1.0 you can intercept .uno:CloseWin to prevent a click on >>> the x-closer icon to close your document. >>> Good luck >>> Harald >>> >>> >>> >>> Jordi Sanchez schrieb: >>> >>>> Hi all, >>>> >>>> I'm suffering a problem for handling properly the document's closing >>>> action. >>>> As I've seen, I'm not the first suffering this kind of problem ( >>>> http://api.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=15467 or >>>> http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=16017) >>>> >>>> Taking into account the last information I have about this issue >>>> (posted >>>> by Mathias Bauer: >>>> http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=16025) Could >>>> I consider the current behavior as a bug? If not, Could someone explain >>>> me what I'm doing wrong? >>>> >>>> PS: Is there some way to disable (programmatically) the "x"-closer in >>>> the document's frames. I see that if there is more than one document >>>> open, the inner "x"-closer disappear. >>>> >>>> Thank you very much. >>>> >>>> --------------------------------------------------------------------- >>>> 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] >>> >>> >>> >> >> --------------------------------------------------------------------- >> 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]
