locked
How to add shortcuts or hot keys for VSTO application level add-in using C#? RRS feed

  • Question

  • I have an application level VSTO add-in written using C#. When user right clicks on a particular cell, I am displaying a menu item. Clicking on one of the menu item will perform an action. Now, I wanted to provide a short cut or hot key for performing the action. How do I make use of the Application.OnKey method? I wanted to call a C# method (in my addin) when a particular hot key or short cut key is pressed. Can you please give me an example?
    Tuesday, May 25, 2010 4:06 PM

Answers