Article View: comp.os.os2.programmer
Article #574Re: Help with WinSetHook?
From: Larry Salomon Jr.
Date: Thu, 30 Jul 1992 03:31
Date: Thu, 30 Jul 1992 03:31
24 lines
1318 bytes
1318 bytes
In <1992Jul29.174651.1879@jpradley.jpr.com> grumpy@jpradley.jpr.com (Jeff Markel) writes: >Are there any good examples around of how to use hooks? I've looked in several >PM programming books and there was nary a mention of hook procedures, let alone >how to write or use one. >If anyone could post a short example, or point me toward one, I'd be grateful... > Thanks... > Jeff Markel And speaking of hooks, I can't get my help hook to work so that I can provide help for my message boxes. I am calling WinSetHook with HK_HELP, but my hook is never called whenever *any* help action is performed (much less when "Help" is pressed on my MB_HELP message box). Any idea what's wrong? Will post code fragment if needed. Thanks for any help! -- Cheers, Q ----------------------------------------------------------------------- "If you still choose not to decide, | "My other account is in the
Technical Details
Message-ID:
<1992Jul30.033150.19585@panix.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!cmcl2!panix!os2manReferences:
<1992Jul29.174651.1879@jpradley.jpr.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!cmcl2!panix!os2man From: os2man@panix.com (Larry Salomon Jr.) Newsgroups: comp.os.os2.programmer Subject: Re: Help with WinSetHook? Message-ID: <1992Jul30.033150.19585@panix.com> Date: 30 Jul 92 03:31:50 GMT References: <1992Jul29.174651.1879@jpradley.jpr.com> Organization: PANIX Public Access Unix, NYC Lines: 24