Solved

Capturing keystrokes

Posted on 1998-12-30
2
271 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now