home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / hmtailor.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-08  |  3.5 KB  |  83 lines

  1. /****************************************************************************\
  2.  *
  3.  * SOURCE FILE NAME: hmtailor.h
  4.  *
  5.  * DESCRIPTION: This is the public include file for customized menubar. 
  6.  *
  7.  * COPYRIGHT =
  8.  *   COPYRIGHT (C) SINGALAB PTE LTD 1992, 1993
  9.  *   All Rights Reserved
  10.  *
  11.  ****************************************************************************/
  12.  
  13. /*************************************************************************/
  14. /* Constants and Macro for customizing Menu Bar of Help Manager          */
  15. /*************************************************************************/
  16. /* Help ID for Help Manager */
  17. #define IDH_HM_BASE              64000       /* 0xFA00 */
  18.  
  19.  /* help ID for menu bar items */
  20. #define IDH_HM_SERVICES          (IDH_HM_BASE + 1)
  21. #define IDH_HM_OPTIONS           (IDH_HM_BASE + 10)
  22. #define IDH_HM_HELP              (IDH_HM_BASE + 22)
  23.  
  24.  /* help ID for search menu pulldown items */
  25. #define IDH_HM_SEARCH            (IDH_HM_BASE + 2)
  26. #define IDH_HM_PRINT             (IDH_HM_BASE + 4)
  27. #define IDH_HM_CLIP_COPY         (IDH_HM_BASE + 7)
  28. #define IDH_HM_CLIP_CF           (IDH_HM_BASE + 8)
  29. #define IDH_HM_CLIP_AF           (IDH_HM_BASE + 9)
  30.  
  31.  /* help ID for options menu pulldown items */
  32. #define IDH_HM_OPTION_EXPLEVEL   (IDH_HM_BASE + 11)
  33. #define IDH_HM_OPTION_EXPBRANCH  (IDH_HM_BASE + 12)
  34. #define IDH_HM_OPTION_EXPALL     (IDH_HM_BASE + 13)
  35. #define IDH_HM_OPTION_COLBRANCH  (IDH_HM_BASE + 15)
  36. #define IDH_HM_OPTION_COLALL     (IDH_HM_BASE + 14)
  37. #define IDH_HM_TOC               (IDH_HM_BASE + 17)
  38. #define IDH_HM_VIEWPAGES         (IDH_HM_BASE + 16)
  39. #define IDH_HM_PREVIOUS          (IDH_HM_BASE + 18)
  40.  
  41.  /* help ID for help menu pulldown items */
  42. #define IDH_HM_HELP_INDEX        (IDH_HM_BASE + 26)
  43. #define IDH_HM_GENERAL_HELP      (IDH_HM_BASE + 24)
  44. #define IDH_HM_USING_HELP        (IDH_HM_BASE + 27)
  45. #define IDH_HM_KEYS              (IDH_HM_BASE + 30)
  46. #define IDH_HM_VIEWPORT          (IDH_HM_BASE + 49)
  47. #define IDH_HM_LIBRARY           (IDH_HM_BASE + 50)
  48. #define IDH_HM_INDEX             (IDH_HM_BASE + 94)
  49.  
  50. /* Menu Bar ID */ 
  51. #define MBID_BASE                32512             /* 0x7F00 */
  52.  
  53. #define MBID_SERVICES            MBID_BASE 
  54. #define MBID_SEARCH              (MBID_BASE + 1)
  55. #define MBID_PRINT               (MBID_BASE + 2)
  56. #define MBID_NEWWINDOW           (MBID_BASE + 4)
  57. #define MBID_COPY                (MBID_BASE + 5)
  58. #define MBID_COPYTOFILE          (MBID_BASE + 6)
  59. #define MBID_APPENDTOFILE        (MBID_BASE + 7)
  60. #define MBID_CLOSE               (MBID_BASE + 8)
  61.  
  62. #define MBID_EXPONELEVEL         (MBID_BASE + 9)
  63. #define MBID_EXPBRANCH           (MBID_BASE + 10)
  64. #define MBID_EXPALL              (MBID_BASE + 11)
  65. #define MBID_CLPSEBRANCH         (MBID_BASE + 12)
  66. #define MBID_CLPSEALL            (MBID_BASE + 13)
  67. #define MBID_CONTENTS            (MBID_BASE + 14)
  68. #define MBID_INDEX               (MBID_BASE + 15)
  69. #define MBID_VIEWEDPAGES         (MBID_BASE + 16)
  70. #define MBID_LIBRARIES           (MBID_BASE + 17)
  71. #define MBID_PREVIOUS            (MBID_BASE + 18)
  72.  
  73. #define MBID_HELPINDEX           (MBID_BASE + 19)
  74. #define MBID_GENERALHELP         (MBID_BASE + 20)
  75. #define MBID_USINGHELP           (MBID_BASE + 21)
  76. #define MBID_KEYSHELP            (MBID_BASE + 22)
  77.  
  78. #define MBID_OPTIONS             (MBID_BASE + 24) 
  79. #define MBID_HELP                (MBID_BASE + 25)  
  80.  
  81. #define MBID_USERDEFINED_FIRST   (MBID_BASE + 48)     /* 0x7F30 */
  82. #define MBID_USERDEFINED_LAST    (MBID_BASE + 255)    /* 0x7FFF */
  83.