Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scroll Lock button
Message
 
To
14/04/2005 18:31:55
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01004925
Message ID:
01004933
Views:
21
>Is it possible to read the state (on or off) of the Scroll Lock button? If so, How?
>
>Thanks.

I found reference to VK_SCROLL as 0x90, 0x91 and 0x92, but apparently 0x91 is the correct one
declare short GetKeyState in win32api integer
? getKeyState(0x91)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform