Solved

Capturing keystrokes

Posted on 1998-12-30
2
296 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month2 days, 18 hours left to enroll

621 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