This document is archived and information here might be outdated.  Recommended version.


IExtensionAccelerators.CreateAccelerators Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IExtensionAccelerators.CreateAccelerators Method

Called to create the keyboard accelerators for this extension.

[Visual Basic .NET]
Public Sub CreateAccelerators ( _
)
[C#]
public void CreateAccelerators (
);
[C++]
HRESULT CreateAccelerators(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IExtensionAccelerators Interface | IAccelerator Interface | IAcceleratorTable Interface