-
Key State
My small app needs to know whether the Caps Lock key is on or off. Various bits of code using GetKeyboardState etc all work whilst the project is running in VB. If I open Notepad and click in its window instead of in my vb code window, the app seems unable to detect the Caps Lock state any more. Any ideas?
Voice Recognition, Microphones, and Text-To-Speech.
Products, Support, and International Sales.
www.talking.co.uk
-
Re: Key State
I believe you have to subclass the keystroke capture of keyboard state outside the VB window as you would do for mouse events.
Gordito
-
Re: Key State
Try creating a Hook procedure for keybaord.
A hook procedure is system-wide.