STICKYKEYS (Windows Embedded CE 6.0)
1/6/2010
This structure contains information about the sticky keys accessibility option. When the sticky keys option is on, the user can press a modifier key and then another key successively, instead of simultaneously, to enter shifted or modified characters and other key combinations. The modifier keys are SHIFT, CTRL, and ALT.
Syntax
typedef struct tagSTICKYKEYS{
UINT cbSize;
DWORD dwFlags;
} STICKYKEYS, *LPSTICKYKEYS;
Members
- cbSize
Unsigned integer that specifies the size, in bytes, of this structure.
dwFlags
DWORD that contains a set of bit flags that specify properties for the sticky keys option. The following table shows the possible values.Value Description SKF_AUDIBLEFEEDBACK
The system plays a sound when the user latches, locks, or releases modifier keys using the sticky keys option.
SKF_AVAILABLE
The sticky keys option is available for use.
SKF_HOTKEYACTIVE
The user can turn the sticky keys option on and off by pressing the SHIFT key five times.
SKF_HOTKEYSOUND
The system plays a siren sound when the user turns the sticky keys option on or off by using the hot key.
SKF_STICKYKEYSON
The sticky keys option is on.
SKF_TRISTATE
The user can lock down a modifier key by pressing it twice in a row. The key remains locked down until the user presses it a third time.
Remarks
Use a STICKYKEYS structure when you call the SystemParametersInfo function with the wAction parameter set to SPI_GETSTICKYKEYS or SPI_SETSTICKYKEYS. When using SPI_GETSTICKYKEYS, you must specify the cbSize member of the STICKYKEYS structure; the SystemParametersInfo function fills in the remaining members. Specify all structure members when using the SPI_SETSTICKYKEYS value.
Requirements
Header | winuser.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |