FILTERKEYS Structure

Type FILTERKEYS
  cbSize As Long
  dwFlags As Long
  iWaitMSec As Long
  iDelayMSec As Long
  iRepeatMSec As Long
  iBounceMSec As Long
End Type

FILTERKEYS-type variables store information relating to the FilterKeys accessibility feature. FilterKeys helps filter out unwanted and accidental keypresses by controlling settings such as the repeat rate and requiring keys to be held for a certain time before they are accepted. This structure stores the settings of FilterKeys.

cbSize
The size in bytes of the structure.
dwFlags
Zero or more of the following flags specifying various FilterKeys settings and properties:
FKF_AVAILABLE = &H2
The FilterKeys accessibility feature is available.
FKF_CLICKON = &H40
Play a clicking sound whenever a key is pressed or accepted.
FKF_CONFIRMHOTKEY = &H8
Win 95/98 only: Display a confirmation dialog whenever the user activates FilterKeys via the hot key.
FKF_FILTERKEYSON = &H1
FilterKeys is currently on.
FKF_HOTKEYACTIVE = &H4
The user can toggle FilterKeys by using the hot key: holding the right Shift key for eight seconds.
FKF_HOTKEYSOUND = &H10
Play a sound when the user toggles FilterKeys via the hot key.
FKF_INDICATOR = &H20
Win 95/98 only: Display an icon in the tray while FilterKeys in on.
iWaitMSec
The length of time, in milliseconds, the user must hold down a key before it is accepted.
iDelayMSec
The length of time, in milliseconds, the user must hold down a key before it begins to repeat.
iRepeatMSec
The length of time, in milliseconds, between each repetition of a key.
iBounceMSec
The length of time, in milliseconds, before subsequent presses of the same key will be accepted.

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/f/filterkeys.html