views:

42

answers:

1

Google Desktop Search has this nice feature of catching monitor shortcuts (such as CTRL + CTRL) while running in the background. Once the event is caught, the desktop search bar is being shown. Is there a way to simply implement this in C#?

+2  A: 

You can do this with a Global Keyboard Hook.

This lets you preview keyboard events (and mouse events) before they are dispatched to the active application.

Eric J.