CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2010
    Posts
    38

    [RESOLVED] Receiving Multiple Keyboard Hook Messages

    Hey

    I have been having this problem of receiving multiple keyboard hook messages for every input. . .
    e.g. if i press 'h' once , i receive it twice!

    I have set the hook using SetWindowsHookEx...

    I was wondering if this is because of pressing and releasing the keys which would generate two separate messages ?
    i tried masking out the last bit (1 << 31) to see if it works , but still no result!

    Can somebody help?

  2. #2
    Join Date
    Oct 2010
    Posts
    38

    Re: [RESOLVED] Receiving Multiple Keyboard Hook Messages

    The problem has been solved, it was masking indeed.. only i wasnt masking the correct way . . .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured