Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
Don't do it. The reasonable users won't forgive such abuse. Better explain why do you think you would need it, to get better advice.—SA
You are interested in Hooks:Global Windows Hooks[^]http://msdn.microsoft.com/en-us/library/windows/desktop/ms632589(v=vs.85).aspx[^]http://msdn.microsoft.com/en-us/library/windows/desktop/ms644990(v=vs.85).aspx[^]Be careful: what Sergey is telling you is more than correct.