ACCEL structure (winuser.h)
Defines an accelerator key used in an accelerator table.
Syntax
typedef struct tagACCEL {
#if ...
BYTE fVirt;
#if ...
WORD key;
#if ...
WORD cmd;
#else
WORD fVirt;
#endif
#else
WORD key;
#endif
#else
DWORD cmd;
#endif
} 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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | winuser.h (include Windows.h) |
See also
Conceptual
Reference