Accelerator key Add-in

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way I can add shortcut key like "Ctrl+B" or any other key for my add-in menu and toolbar button? Also, I am trying to capture the event "Save" in presentation by getting the click event of File->Save menu item and "Save" toolbar button. This works fine except when "Ctrl+S" is pressed. How do I capture this shortcut key events. Is there any different notification events for this?
 
You will need to create your own hook to capture the Ctrl+S. A google search
should bring up enough pages pertaining to hooks and subclassing.

--
Regards
Shyam Pillai

http://www.mvps.org/skp

Stee said:
Is there any way I can add shortcut key like "Ctrl+B" or any other key for
my add-in menu and toolbar button? Also, I am trying to capture the event
"Save" in presentation by getting the click event of File->Save menu item
and "Save" toolbar button. This works fine except when "Ctrl+S" is pressed.
How do I capture this shortcut key events. Is there any different
notification events for this?
 
Back
Top