assign a hot key for the application RRS feed

  • Question

  • I am building an windows application in .NET 2.0 C#.

    My application would run in the background and log the keystrokes of the user, I want to assign a hotkey to my application for ex if F12 would be the hotkey for my application then as the user press F12 my application starts logging of keystrokes and if the user presses the F12 back then it stops (same as caps lock to print upper case letters).

    As I searched and read in MSDN I found that the registerhotkey api. But the problem is that they had said that it works for key combination and I want a single hotkey for my project.

    Any suggestions how can I achieve it??

    Please reply soon.......

    • Moved by spacewrangler Friday, September 26, 2008 11:56 PM off topic (Moved from Building Development and Diagnostic Tools for .Net to Off-Topic Posts (Do Not Post Here))
    Friday, September 26, 2008 8:27 AM