Partager via


Changing the Properties of Multiple Accelerator Keys

 

The latest version of this topic can be found at Changing the Properties of Multiple Accelerator Keys.

To change the properties of multiple accelerator keys

  1. Open the accelerator table by double-clicking its icon in Resource View.

    Note

    If your project doesn't already contain an .rc file, please see Creating a New Resource Script File.

  2. Select the accelerator keys you want to change by holding down the CTRL key as you click each one.

  3. Go to the Properties window and type in the values you want all of the selected accelerators to share.

    Note

    Each modifier value appears as a Boolean property in the Properties window. If you change a Modifier value in the Properties window, the accelerator table treats the new modifier as an addition to any modifiers that were previously there. Because of this, if you set any modifier values, you will need to set all of them to ensure that every accelerator shares the same Modifier settings.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

Win32

See Also

Editing Accelerator Tables
Accelerator Editor