I'm looking for a way to capture a Keyboard Event that might fire from any active application in Windows, in my WinForms application.
My WinForms application is an audio player that is used by medical transcriptionists. The audio player is usually minimized while the transcriptionist is in Word transcribing the audio dictation. It would be nice if while in Word they could press Shift-Ctrl-F (or some other keystroke) which could then be caught by my application which would automatically move them to the next file to be transcribed.
If anyone has some insight or sample code, I would greatly appreciate it! This would save the user the hassle of having to go back and forth between applications.
ADAdministrator Syncfusion Team April 17, 2003 04:34 AM
Check out this Google thread.
MWMatt WarehamApril 18, 2003 08:45 AM
Thanks for the link Clay. I've tried this one, along with 3 other examples and none of these seem to be able to capture a keyboard event from anything other than it's own application.
I've tested this in a simple C# WindowsForm and whenever it's minimized or doesn't have focus, it will not pick up on a keyboard event from another application.
Might you have any other suggestions?