home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: 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
-
- 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 (?)
- ----------------------------------------------
-