button hotkey

  • Thread starter Thread starter Jenny Tam
  • Start date Start date
J

Jenny Tam

Hi,

I've written an Outlook addin using VC++ and would like to know
whether it is possible to assign hotkeys (forget the real name) to
custom buttons? Currently my button is in the File menu and called
'&Export', so the user can access it by 'Alt+F+E'. However, is it
possible to assign something like 'Ctrl+E'?

I have used the ShortcutText property of the CommandBarButton.
'Ctrl+E' is shown but is not activated ...

This is what I get from MSDN about the ShortcutText property:

"You can set this property only for command bar buttons that contain
an OnAction macro"

What does this really mean?

Any help is appreciated,
Jenny
 
Back
Top