home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / programm / 3743 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!chx400!bernina!neptune!rofische
  3. From: rofische@iiic.ethz.ch (Roman Fischer)
  4. Subject: Input Hook
  5. Message-ID: <1992Jul23.063321.28347@neptune.inf.ethz.ch>
  6. Originator: rofische@d13
  7. Sender: news@neptune.inf.ethz.ch (Mr News)
  8. Nntp-Posting-Host: d13
  9. Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH)
  10. Date: Thu, 23 Jul 1992 06:33:21 GMT
  11. Lines: 26
  12.  
  13. Hi there,
  14.  
  15. I've got a problem with a program monitoring the system queue. As proposed in
  16. the Microsoft OS/2 programmer's reference i installed a hook procedure for
  17. Input-Msg (Mouse, Keyboard).
  18. Now i've got the following problems:
  19. a.) In vol. 1 of the reference, the example for a input-hook doesn't match 
  20.     the defenition of the hook-procedure (last parameter !)
  21. b.) I tried both possibilites (2 or 3 parameters) for the hook procedure
  22.     and I didn't get any input-msgs at all. All i seem to get are WM_TIMER
  23.     msg !
  24.  
  25. Now my questions:
  26.  
  27. Has anybody ever written a hook procedure for input msgs (HK_INPUT), or is
  28. this a bug in OS/2 2.0 ?
  29.  
  30. Thanks in advance for any help.
  31.  
  32. Roman
  33.  
  34. -- 
  35. ----------------------------------------------
  36. INTERNET: rofische@iiic.ethz.ch
  37. DECNET:   14LBS::PSI%47931149420::ROFISCHE (?)
  38. ----------------------------------------------
  39.