-
Toolbar button shortcuts
Is there a way to assign shortcut keys to toolbar butons?
If not is it possible to make them pneumonic like normal buttons?
For example if one of my toolbar buttons' caption is &Save, is there a way to get it to trap ALT-S or CTRL-S without having to
put it a whole bunch of _KeyDown / _KeyUp events?
-
I think the easiest way would be to "simulate" shortcuts.
Create dropdown menu items that correspond to your toolbar buttons, and create shortcuts for the menu items. Have both click events to the same thing. You can also have the menu item programmatically depress the toolbar button.