Provides access to a method that creates extension accelerators.
IExtensionAccelerators is implemented by extensions to define keyboard accelerators. This interface is not normally called from client code
When To Use
If you want any of the commands in your extension to have keyboard accelerators associated with them, your extension needs to implement IExtensionAccelerators. In your class module for your extension you would implement both IExtensionand IExtensionAccelerators.
|CreateAccelerators||Called to create the keyboard accelerators for this extension.|
Called to create the keyboard accelerators for this extension.
Public Sub CreateAccelerators ( _ )
public void CreateAccelerators ( );
The CreateAccelerators method creates the accelerators for the extension. This method is called when the accelerator table is created during application startup, when a new document is created, or when a document is opened.
When you use the CreateAccelerators method to assign an accelerator to one of the commands in your extension, you should check to make sure that no other command is currently using the key combination that you want to use.
Classes that implement IExtensionAccelerators
The CreateAcceleratorsmethod creates the accelerators for the extension. This method is called when the accelerator table is created during application startup, when a new document is created, or when a document is opened.