button hotkey

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top