🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #438

Input Hook

#438
From: Roman Fischer
Date: Thu, 23 Jul 1992 06:33
26 lines
1366 bytes
Hi there,

I've got a problem with a program monitoring the system queue. As proposed in
the Microsoft OS/2 programmer's reference i installed a hook procedure for
Input-Msg (Mouse, Keyboard).
Now i've got the following problems:
a.) In vol. 1 of the reference, the example for a input-hook doesn't match 
    the defenition of the hook-procedure (last parameter !)
b.) I tried both possibilites (2 or 3 parameters) for the hook procedure
    and I didn't get any input-msgs at all. All i seem to get are WM_TIMER
    msg !

Now my questions:

Has anybody ever written a hook procedure for input msgs (HK_INPUT), or is
this a bug in OS/2 2.0 ?

Thanks in advance for any help.

Roman

-- 
----------------------------------------------
INTERNET: rofische@iiic.ethz.ch
DECNET:   14LBS::PSI%47931149420::ROFISCHE (?)
----------------------------------------------
Technical Details
Message-ID: <1992Jul23.063321.28347@neptune.inf.ethz.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!chx400!bernina!neptune!rofische

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!chx400!bernina!neptune!rofische
From: rofische@iiic.ethz.ch (Roman Fischer)
Subject: Input Hook
Message-ID: <1992Jul23.063321.28347@neptune.inf.ethz.ch>
Originator: rofische@d13
Sender: news@neptune.inf.ethz.ch (Mr News)
Nntp-Posting-Host: d13
Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH)
Date: Thu, 23 Jul 1992 06:33:21 GMT
Lines: 26