This is only possible with a global hook (SetWindowsHookEx), and is not
possible in either VB.Net or in C#.
But note that you would not want it to work, as the notion of injecting a
managed app into every process is a frightening one, to say the least.
--
MichKa [MS]
This posting is provided "AS IS" with
no warranties, and confers no rights.
"Joshua Campbell" <Jo*************@WellmanInc-DieSpamDie.com> wrote in
message news:eK**************@TK2MSFTNGP11.phx.gbl...
I am wanting to write a program that will run in the background, but will
intercept a keypress (<CTRL> + <ALT> + L) and do a certain action.
Unfortunately, the only way that I've been able to accomplish this is if
the program is the active window. Is there a way to have this running as a
background process, yet still able to intercept keypresses?
Thanks.
Joshua