STICKYKEYS Structure
Type STICKYKEYS
cbSize As Long
dwFlags As Long
End Type
STICKYKEYS-type variables store information about the StickyKeys accessibility feature. StickyKeys allows the user to simply press modifier keys (Ctrl, Alt, Shift) before pressing another key instead of having to press them simultaneously. For example, to give a Ctrl-S command, the user would simple press and release Ctrl, then press S (instead of pressing S while holding Ctrl). This structure holds the settings of StickyKeys.
- cbSize
- The size in bytes of the structure.
- dwFlags
- Zero or more of the following flags specifying various settings and properties of StickyKeys:
- SKF_AUDIBLEFEEDBACK = &H40
- Play a sound whenever the user latches, locks, or releases a modifer key.
- SKF_AVAILABLE = &H2
- The StickyKeys feature is available.
- SKF_CONFIRMHOTKEY = &H8
- Win 95/98 only: Open a confirmation dialog box when the user activates StickyKeys via the hot key.
- SKF_HOTKEYACTIVE = &H4
- Enable the user to toggle StickyKeys via the hot key: pressing Shift five times.
- SKF_HOTKEYSOUND = &H10
- Play a sound when the user toggles StickyKeys via the hot key.
- SKF_INDICATOR = &H20
- Win 95/98: Display an icon in the system tray while StickyKeys is on.
- SKF_STICKYKEYSON = &:H1
- StickyKeys is currently on.
- SKF_TRISTATE = &H80
- Allow the user to press a modifer key two times in a row to lock it; it will be unlocked after a third press.
- SKF_TWOKEYSOFF = &H100
- Holding a modifier key and a normal key together deactivates StickyKeys.
Used by: SystemParametersInfo
Go back to the alphabetical Structure listing.
Go back to the Reference section index.
This page is copyright © 2000 Paul Kuliniewicz. Copyright Information.
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/s/stickykeys.html