Assigning Key Sequences to Add-in Commands Visually
Home Page (Add-ins) | Overview | How Do I ... Topics | FAQ | Reference
If you assign a key sequence to an add-in command, you can carry out that command by pressing the keys in that sequence. You can assign this key sequence through the Visual C++ user interface.
To assign a key sequence through the user interface
On the Tools menu, click Customize.
Click the Keyboard tab.
In the Categories box, click Add-ins.
In the Commands box, select the add-in command you want to assign.
Go to the Press new shortcut key box by clicking inside it.
Press the key sequence you want to use for the add-in command.
Click the Assign button.
Visual C++ assigns that key sequence to the command.
Additionally, Visual C++ provides other ways of using key sequences to customize your desktop environment. For details, see Overview: Customizing Visual C++.
See Also Assigning Key Sequences to Add-in Commands Programmatically, Creating Toolbar Buttons for Add-in Commands Programmatically