CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Keystroke capture

    Does anyone know how to capture the keystrokes of an active window other than the main window (the calling window itself) ?

    Thanks.


  2. #2
    Join Date
    May 1999
    Location
    Farnborough, Hants, England
    Posts
    710

    Re: Keystroke capture

    Sounds like you need a Windows hook. Check out SetWindowsHookEx(). I have never used one before, though, so I don't know how exactly.



    --
    Jason Teagle
    [email protected]

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