MOUSEKEYS Structure
Type MOUSEKEYS
cbSize As Long
dwFlags As Long
iMaxSpeed As Long
iTimeToMaxSpeed As Long
iCtrlSpeed As Long
dwReserved1 As Long
dwReserved2 As Long
End Type
MOUSEKEYS-type variables store information about the MouseKeys accessibility feature. MouseKeys allows the mouse cursor to be moved by the numeric keypad in addition to an actual mouse. The structure stores the settings about the MouseKeys accessibility feature.
- cbSize
- The size in bytes of the structure.
- dwFlags
- Zero or more of the following flags specifying various settings and properties of MouseKeys:
- MKF_AVAILABLE = &H2
- The MouseKeys feature is available.
- MKF_CONFIRMHOTKEY = &H8
- Win 95/98 only: Open a confirmation dialog box when the user activates MouseKeys via the hot key.
- MKF_HOTKEYACTIVE = &H4
- Allow the user to toggle MouseKeys via the hot key: press Left Alt, Left Shift, and Num Lock simultaneously.
- MKF_HOTKEYSOUND = &H10
- Play a sound when the user toggles MouseKeys via the hot key.
- MKF_INDICATOR = &H20
- Win 95/98 only: Display an icon in the system tray while MouseKeys is on.
- MKF_MODIFIERS = &H40
- Win 95/98 only: Multiply the mouse speed by iCtrlSpeed while the Ctrl key is held.
- MKF_MOUSEKEYSON = &H1
- The MouseKeys feature is currently on.
- MKF_REPLACENUMBERS = &H80
- Win 95/98 only: Only let the numeric keypad control the mouse cursor while Num Lock is on. If this flag is not set, only let the numeric keypad control the mouse cursor while Num Lock is off.
- iMaxSpeed
- The maximum speed of the mouse cursor. In Win NT, this must be between 10 and 360 inclusive. In Win 95/98, there is no limiting range.
- iTimeToMaxSpeed
- The length of time, in milliseconds, before the mouse cursor begins moving at the maximum speed. This must be between 1000 and 5000 inclusive.
- iCtrlSpeed
- Win 95/98: The multiplier to apply to the mouse speed when the Ctrl key is held. Win NT: Reserved -- set to 0.
- dwReserved1
- Reserved -- set to 0.
- dwReserved2
- Reserved -- set to 0.
Used by: SystemParametersInfo
Back to the 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/m/mousekeys.html