By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,143 Members | 1,919 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,143 IT Pros & Developers. It's quick & easy.

How to create systemwide hooks for keyboard (for keys like WIN, ALT+TAB)

P: n/a
Hye,
How to create systemwide hooks for keyboard for keys like WIN, ALT+TAB,
CTRL+ALT+DEL even when the application does not have the focus on it...

Thanks,
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I'm not aware of a managed interface to this (though I could be wrong).

I think you'll need to P/Invoke to SetWindowsHookEx and related functions;
that's what I had to do in one circumstance, although I was only using
application hooks.

Note that system-wide hooks incur a performance hit.

"Jigar mehta" <ji***@programmer.net> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Hye,
How to create systemwide hooks for keyboard for keys like WIN, ALT+TAB, CTRL+ALT+DEL even when the application does not have the focus on it...

Thanks,

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.