I have to develop a tool for monitoring helpdesk agents. I can figure out how to capture keyboard events and mouse events; however I need to capture the control that emitted/consumed the event too. Is it possible to find that out?
+1
A:
You need windows hooks to pick up the events. These are really the province of native code. Try asking again with Win32 tag replacing the C# tag.
Richard
2009-08-01 11:28:17
A:
I used the code from Stephen Toub's blog to add a shortcut to my application in the system tray. The comments were quite useful as well.
Tubbe
2009-10-23 08:50:47