Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard tic (repeat) interval
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00291475
Message ID:
00292052
Views:
27
Hi Bill,

You're pretty close. Here's how
* Defined constants
#DEFINE SPI_GETKEYBOARDSPEED 10
#DEFINE SPI_SETKEYBOARDSPEED 11
* Get the keyboard speed
DECLARE INTEGER SystemParametersInfo IN Win32API;
  INTEGER uiAction, SHORT uiParam,;
  INTEGER @pvParam, INTEGER fWinIni
lnspeed = 0
llsuccess = (SystemParametersInfo(SPI_GETKEYBOARDSPEED, 0, lnspeed, 0) # 0)
* Set the keyboard speed
DECLARE INTEGER SystemParametersInfo IN Win32API;
  INTEGER uiAction, SHORT uiParam,;
  INTEGER pvParam, INTEGER fWinIni
llsuccess = (SystemParametersInfo(SPI_GETKEYBOARDSPEED, lnnewspeed, 0, 0) # 0)
Note that there are differences in the declaration to get and set the speed.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform