MSDN > 論壇首頁 > Managed Extensibility Framework > Catch the close event in word and Powerpoint for Override in Office Add-ins
發問發問
 

問題Catch the close event in word and Powerpoint for Override in Office Add-ins

  • Wednesday, 15 April, 2009 5:00K Mehar 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Please can anyone tell me how to catch the closing event ( [X] button of my window) I need to kill all the threads running when someone would press [X] button in MS WORD and POWER POINT. I am Creating some Office plug ins by using Addins in C#. And

    Please can anyone tell me How to disable the default messages like (Do you want to save the document ) in word and power point when document is going to close.