R
Ram Prakash Singh
Hi,
How can I add a menu item in File Menu with a hotkey like
CTRL+S.
Secondly, I have overloaded the save menu item in word and
handling the event when File | Save is clicked in a word-
addin. It's working fine when File | Menu item is clicked.
But the event is not getting triggered when CTRL+S is
pressed from keyboard. How can I handle the CTRL+S ?
I tried to handle it using SetWindowsHookEx and then
catching the CTRL+S key but the hook is getting enabled
system-wide. Hence when word is running and same time if I
press CTRL+S in notepad, it's calling function in word-
addin. However when word is not running, presseing CTRL+S
in notepad works fine.
Regards,
RPSingh
How can I add a menu item in File Menu with a hotkey like
CTRL+S.
Secondly, I have overloaded the save menu item in word and
handling the event when File | Save is clicked in a word-
addin. It's working fine when File | Menu item is clicked.
But the event is not getting triggered when CTRL+S is
pressed from keyboard. How can I handle the CTRL+S ?
I tried to handle it using SetWindowsHookEx and then
catching the CTRL+S key but the hook is getting enabled
system-wide. Hence when word is running and same time if I
press CTRL+S in notepad, it's calling function in word-
addin. However when word is not running, presseing CTRL+S
in notepad works fine.
Regards,
RPSingh