Partager via


Accelerator Type Property

The accelerator Type property determines whether the shortcut key combination associated with the accelerator ID is a virtual key combination or an ASCII/ANSI key value:

  • If the Type property is ASCII, the Modifier may only be None or Alt, or it can have an accelerator which uses the CTRL key (specified by preceding the key with a ^).

  • If the Type property is VIRTKEY, any combination of Modifier and Key values is valid.

    Note

    If you want to enter a value into the accelerator table and have the value be treated as ASCII/ANSI, simply click the Type for the entry in the table and select ASCII from the drop down list. However, if you use the Next Key Typed command (Edit menu) to specify the Key, you must change the Type property from VIRTKEY to ASCII before entering the Key code.

Requirements

Win32

See Also

Reference

Setting Accelerator Properties

Accelerator Editor