home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / Chip_2002-02_cd1.bin / sharewar / apaths / APSOURCE.ZIP / HelpTip.c < prev    next >
C/C++ Source or Header  |  2001-03-26  |  785b  |  28 lines

  1. /* HelpTip.c - March 26th, 2001
  2. **
  3. **      Copyright (c) 1997-2001 by Gregory Braun. All rights reserved.
  4. **
  5. **      This function invokes the WinHelp handler with the Help Topic
  6. **      ID specified. The topic will appear is a small popup window.
  7. **
  8. **      Called:     w  = window handle of the parent (owner)
  9. **                  id = topic ID for this help topic.
  10. **
  11. **      Returns:    TRUE upon success, or FALSE if an error exists.
  12. **
  13. **      Notes:      Use this function to process WM_HELP messages.
  14. **
  15. */
  16.  
  17. #include "AppPaths.h"
  18.  
  19. extern BOOL far HelpTip (HWND w,int id)
  20. {
  21.     if (id == IDC_STATIC || !*helpfile)
  22.         return (Beeper ());
  23.  
  24.     return (WinHelp (w,helpfile,HELP_CONTEXTPOPUP,id));
  25. }
  26.  
  27. /* end of HelpTip.c - written by Gregory Braun */
  28.