How to capture keys across all applications in C#?

  • Thread starter Thread starter Mentat
  • Start date Start date
M

Mentat

I'm working on a utility program, and I need to have it do something every
time a certain key is pressed (like Ctrl-F11, for instance), no matter what
application is active at the time. The utility will be running in the system
tray.

I've got a screen capture program that does this, but I can't find any info
on how to do it. I know I can use an IMessageFilter to look at any keys
within the application, but that doesn't work outside the app AFAICT.

thanx in advance...
 
Back
Top