![]() My onAction functions are all triggered as expected. ![]() MessageBox.Show("Caught context menu Paste Keep Formatting") Public void OnButtonPasteSourceFormatting(Office.IRibbonControl control, ref bool CancelDefault) I am able to catch the Keyboard (Ctrl-C/Ctrl-V) and Ribbon Buttonįor discussion, it's safe to assume my onAction functions all just issue a MessageBox.Show("Handler foo has run."), like: In short, I am trying to notice/hook cut & paste operations. I'm running VS2013 Community, writing a VSTO Word Add-In using C#, and my development machine is Win 8.x running Office 2013. In short, how do I hook/catch the context menu "Paste - Keep Source Formatting" button? This is what I've done: I've done some digging through the forums and docs, but haven't found what I need for this one.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |