Solved

Capturing keystrokes

Posted on 1998-12-30
2
280 Views
Last Modified: 2010-04-04
I want to capture keystrokes when my program isn't in focus, but I'm not very good at message handling (witch I figure must be used). Can anyone help me?

/Anders
0
Comment
Question by:andersh012098
2 Comments
 
LVL 5

Expert Comment

by:heathprovost
ID: 1353865
The answer lies in the SetWindowsHookEx API call - see the Win32 API reference.  If you want code examples I think you should up the points since it will require ALOT of work...
0
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 100 total points
ID: 1353866
This should do the job nicely for you:

http://www.innotts.co.uk/~zephyr/intercept.html

Cheers,

Raymond.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question