🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Roman Fischer Thu, 23 Jul 1992 06:33
Input Hook
#438
Author: 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 (?)
----------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads