home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / programm / 3887 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.3 KB

  1. Path: sparky!uunet!stanford.edu!rutgers!cmcl2!panix!os2man
  2. From: os2man@panix.com (Larry Salomon Jr.)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: Help with WinSetHook?
  5. Message-ID: <1992Jul30.033150.19585@panix.com>
  6. Date: 30 Jul 92 03:31:50 GMT
  7. References: <1992Jul29.174651.1879@jpradley.jpr.com>
  8. Organization: PANIX Public Access Unix, NYC
  9. Lines: 24
  10.  
  11. In <1992Jul29.174651.1879@jpradley.jpr.com> grumpy@jpradley.jpr.com (Jeff Markel) writes:
  12.  
  13.  
  14. >Are there any good examples around of how to use hooks?  I've looked in several
  15. >PM programming books and there was nary a mention of hook procedures, let alone
  16. >how to write or use one.
  17.  
  18. >If anyone could post a short example, or point me toward one, I'd be grateful...
  19. >            Thanks...
  20.  
  21. >                        Jeff Markel
  22.  
  23. And speaking of hooks, I can't get my help hook to work so that I can 
  24. provide help for my message boxes.  I am calling WinSetHook with HK_HELP,
  25. but my hook is never called whenever *any* help action is performed (much
  26. less when "Help" is pressed on my MB_HELP message box).  Any idea what's 
  27. wrong?  Will post code fragment if needed.
  28.  
  29. Thanks for any help!
  30. -- 
  31. Cheers,
  32. Q
  33. -----------------------------------------------------------------------
  34. "If you still choose not to decide,   | "My other account is in the
  35.