ACCEL structure
Defines an accelerator key used in an accelerator table.
Syntax
typedef struct tagACCEL { BYTE fVirt; WORD key; WORD cmd; } ACCEL, *LPACCEL;
Members
- fVirt
-
Type: BYTE
-
The accelerator behavior. This member can be one or more of the following values.
- key
-
Type: WORD
-
The accelerator key. This member can be either a virtual-key code or a character code.
- cmd
-
Type: WORD
-
The accelerator identifier. This value is placed in the low-order word of the wParam parameter of the WM_COMMAND or WM_SYSCOMMAND message when the accelerator is pressed.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
- Reference
- WM_COMMAND
- WM_SYSCOMMAND
- Conceptual
- Keyboard Accelerators