TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Daniel Doran
date: 1995-11-09 00:43:00
subject: WinSetHook()

I wrote something vaguely related to WinSetHook()


Does anyone have a working example of using hooks with WinSetHook(),
particularly for input or journal hooks (HK_INPUT,
HK_JOURNALRECORDHOOK, HK_JOURNALPLAYBACKHOOK).

I've tried to use this, and the hook seems to get set, but my hook
function seems to get the same message from the queue over and over and
over.

Also, the third parameter of my InputHook() function never seems to be
either of the values I'd expect {PM_REMOVE or PM_NOREMOVE}.
--- QScan/PCB v1.17b / 01-0093
* Origin: La Cantina BBS * El Paso * 915-532-0332 7Gig, 6 Nodes (1:381/123)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 517 628 713/888 800/1 7877/2809
@PATH: 381/123 900 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.