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

  1. /* HelpTopic - 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.
  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.  
  14. #include "AppPaths.h"
  15.  
  16. extern BOOL far HelpTopic (HWND w,DWORD id)
  17. {
  18.     if (!*helpfile)
  19.         return (Beeper ());
  20.  
  21.     return (WinHelp (w,helpfile,HELP_CONTEXT,id));
  22. }
  23.  
  24. /* end of HelpTop.c - written by Gregory Braun */
  25.