Solved

Capturing keystrokes

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

15 Experts available now in Live!

Get 1:1 Help Now