🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #506

Re: catch keystrokes

#506
From: Smola
Date: Thu, 05 Apr 2001 12:45
21 lines
1718 bytes
"Jesus Christ Superstar" <chipsencola@hotmail.com> wrote in message
news:3acc35af$0$15657$73bec57d@news.be.uu.net...
> hi
>
> I'm trying to make a programm that can catch keystrokes while not focused,
> I should be able to catch the keystrokes, but if I'm typing in e.g.
notepad
> the text should be visible.
> Is that possible ????

You must put your key handling functions in a dll and register it as
system-wide keyboard-hook. Search for the topic "About Hooks" in the
Win32SDK help.


--
Smola
--
"And once again, the day is saved"
(http://supersmola.tripod.com/index.htm)
Technical Details
Message-ID: <9ahpc9$f39$1@sunce.iskon.hr>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!feeder.qis.net!nntp.abs.net!newsfeed.cwix.com!news1.hinet.hr!Iskon!not-for-mail
References: <3acc35af$0$15657$73bec57d@news.be.uu.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1091e5,14cefee256f122b4
X-Google-Attributes: gid1091e5,public
X-Google-Thread: 10baee,14cefee256f122b4
X-Google-Attributes: gid10baee,public
X-Google-ArrivalTime: 2001-04-05 05:52:01 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!feeder.qis.net!nntp.abs.net!newsfeed.cwix.com!news1.hinet.hr!Iskon!not-for-mail
From: "Smola" <ASS@inet.hr>
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.winapi
Subject: Re: catch keystrokes
Date: Thu, 5 Apr 2001 14:45:50 +0200
Organization: Iskon Internet d.d.
Lines: 24
Message-ID: <9ahpc9$f39$1@sunce.iskon.hr>
References: <3acc35af$0$15657$73bec57d@news.be.uu.net>
NNTP-Posting-Host: 213.191.134.169
X-Trace: sunce.iskon.hr 986474697 15465 213.191.134.169 (5 Apr 2001 12:44:57 GMT)
X-Complaints-To: abuse@iskon.hr
NNTP-Posting-Date: 5 Apr 2001 12:44:57 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600