home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
-