Share via


Mnemonics

A mnemonic is single key, not used in combination with CTRL, ALT, or SHIFT keys, that activates a menu command in an open menu. When a hardware keyboard is present, mnemonics are displayed. The mnemonic is shown as an underlined letter in each menu command. If you do not provide mnemonics for an application, they are auto-assigned.

When you assign mnemonics to menu commands, consider the following guidelines:

  • Choose the mnemonic in the following order of preference:
    • Use the first letter of the command name unless another letter provides a better mnemonic association.
    • Use a letter that is as close as possible to the first letter of the command name.
    • Use a distinctive consonant in the command name.
    • Use a vowel in the command name.
  • Avoid the following when choosing mnemonics:
    • Duplicating mnemonic assignments.
    • Using a letter that is difficult to see. Otherwise, choose the mnemonic in the following order of preference:
    1. Letter that is next to a letter with a descender.
    2. Letter with descender, such as p, g, q, or y.
    3. Letter that is narrow, such as i or l.

Do not assign mnemonics to commands that are not included on menus, such as the Finish, Cancel, or Next command buttons.

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.