How do I program to get Key Pressed using Windows API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prileep
    New Member
    • Jan 2007
    • 20

    How do I program to get Key Pressed using Windows API

    Hi,

    If i enable and display a Form in my application i will get the events like
    form_keydown() , form_keypressed ().

    But here the form willl not be activated, even it will not be visible but the application will be running in background. But i should get trigggered when each key is pressed.
    Means when the user press any key it should be triggered in my program.

    For this requirement which API i will make use of???

    Thanking you,
    Prileep M
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    So, correct me if I'm wrong, but what you want to create is a "keylogger" ?

    Comment

    • prileep
      New Member
      • Jan 2007
      • 20

      #3
      Originally posted by Killer42
      So, correct me if I'm wrong, but what you want to create is a "keylogger" ?
      Whether use or misuse the technology depends on individual. But just understanding it is always a sake.
      May be uyou are correct. Anyway can u tell me is it possible ?

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by prileep
        Whether use or misuse the technology depends on individual. But just understanding it is always a sake.
        May be uyou are correct. Anyway can u tell me is it possible ?
        I don't know. Perhaps someone else will - I just wanted to clarify the meaning of the question.

        Comment

        Working...