Delphi - get status of Num Lock / Caps Lock / Scroll Lock lights (on or off)
Posted on 2006-05-02
This has been asked historically but I was wondering if there has been any progress on this issue in the intervening years.
What I need is a was of accurately displaying whether the Num/Caps/Scoll lock lights are on or off.
The reasons behind this is simple. I am writing a key stroke logger to be used with blind users. Rather than second guess what keystrokes they have pressed the logger displays what buttons they have actually pressed. However it is vital for their remote tutors to know whether the Num and Caps locks are on or off.
Can this be done reliably?