I have a VSTO application as an add-in to MS Word and I want to set keyboard shortcuts to the ribbon buttons

前端 未结 2 535
猫巷女王i
猫巷女王i 2020-12-06 13:17

When I developed this app (in C# Visual Studio 2008) I asked the same question (actually managed to find an answer on the MS forum, for which I deserve a prize of some sort)

2条回答
  •  猫巷女王i
    2020-12-06 13:43

    You can use the global key hook up method mentioned over here: https://docs.microsoft.com/en-us/archive/blogs/vsod/using-shortcut-keys-to-call-a-function-in-an-office-add-in

提交回复
热议问题