I have a Windows form application running that contains a button and textbox.
An easy thing to do is to monitor the last time a keystroke was executed in
the textbox. I can then click the button and it will say: "The last
keystroke in the textbox was 10 minutes ago."
This is not what I want to do. What I would like to see is a message that
says: "The last keystroke in any running application on this computer was 23
minutes ago."
My guess is that this is easy to do for the C# and C++ world. Unfortunately
my programming skills involve databases, user interfaces and VB. Can someone
point me in the necessary direction for capturing this information from the
OS? I assume this is something that can be done.