Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Accelerator-item styles (1.2)
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
Accelerator Description
────────────────────────────────────────────────────────────────────────────
AF_ALT Specifies that the ALT key must be held down when the
accelerator key is pressed.
AF_CHAR Specifies that the keystroke is a translated character, using
the code page for the accelerator table. This is the default
style.
AF_CONTROL Specifies that the CTRL key must be held down when the
accelerator key is pressed.
AF_HELP Specifies that the accelerator generates a WM_HELP message
instead of a WM_COMMAND message.
AF_LONEKEY Specifies that the user need not press another key while the
accelerator key is down. This style is typically used with
the ALT key to specify that simply pressing and releasing the
ALT key triggers the accelerator.
AF_SCANCODE Specifies that the keystroke is an untranslated scan code
from the keyboard.
AF_SHIFT Specifies that the SHIFT key must be held down when the
accelerator key is pressed.
AF_SYSCOMMAND Specifies that the accelerator key generates a WM_SYSCOMMAND
message instead of a WM_COMMAND message.
AF_VIRTUALKEY Specifies that the keystroke is a virtual key──for example,
the F1 key.
See Also
WM_COMMAND, WM_HELP, WM_SYSCOMMAND
♦