home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / smarts / ioc / iclui.h < prev    next >
Encoding:
Text File  |  1996-02-21  |  4.4 KB  |  117 lines

  1. --------------------------------------------------------------------------------
  2. --
  3. -- COPYRIGHT:
  4. --   IBM WorkFrame - Project Smarts
  5. --   (C) Copyright International Business Machines Corporation 1996
  6. --   Licensed Material - Program-Property of IBM - All Rights Reserved.
  7. --   US Government Users Restricted Rights - Use, duplication, or disclosure
  8. --   restricted by GSA ADP Schedule Contract with IBM Corp.
  9. --
  10. --------------------------------------------------------------------------------
  11.  
  12. <include prologc.tde>
  13.  
  14. /*----------------------*/
  15. /* Constant definitions */
  16. /*----------------------*/
  17.  
  18. #define HELP_FILE_NAME     "$FILE_NAME$.HLP"
  19.  
  20. /*--------------------------*/
  21. /* Identifier constants     */
  22. /*--------------------------*/
  23.  
  24. /* Window IDs */
  25. #define  IDW_FRAME_WINDOW            90
  26. #define  ID_MLE                      91
  27.  
  28. /* Icon IDs */
  29. #define  IDI_ICON                    900
  30.  
  31. /* Menu item IDs */
  32. #define IDM_BASE            1000
  33. #define IDM_FILE            IDM_BASE + 1
  34. #define IDM_FILE_OPEN       IDM_BASE + 2
  35. #define IDM_FILE_SAVE       IDM_BASE + 3
  36. #define IDM_FILE_SAVEAS     IDM_BASE + 4
  37. #define IDM_FILE_CLOSE      IDM_BASE + 6
  38. #define IDM_EDIT            IDM_BASE + 7
  39. #define IDM_EDIT_COPY       IDM_BASE + 9
  40. #define IDM_EDIT_CUT        IDM_BASE + 10
  41. #define IDM_EDIT_PASTE      IDM_BASE + 11
  42. #define IDM_HELP            IDM_BASE + 14
  43. #define IDM_HELP_INDEX      IDM_BASE + 15
  44. #define IDM_HELP_GENERAL    IDM_BASE + 16
  45. #define IDM_HELP_USING      IDM_BASE + 17
  46. #define IDM_HELP_PRODINFO   IDM_BASE + 19
  47.  
  48.  
  49. /* Dialog and dialog control IDs */
  50. #define IDD_BASE            2000
  51. #define ID_PRODINFO         IDD_BASE
  52. #define ID_PRODINFO_CANVAS  IDD_BASE + 1
  53. #define ID_PRODINFO_TEXT1   IDD_BASE + 2
  54. #define ID_PRODINFO_TEXT2   IDD_BASE + 3
  55. #define ID_PRODINFO_TEXT3   IDD_BASE + 4
  56. #define ID_PRODINFO_TEXT4   IDD_BASE + 5
  57. #define ID_PRODINFO_TEXT5   IDD_BASE + 6
  58. #define ID_PRODINFO_OK      IDD_BASE + 7
  59. #define ID_PRODINFO_ICON    IDD_BASE + 8
  60. #ifndef DID_HELP_PB
  61. #define DID_HELP_PB         267   /* OK button on File open and Save as dialogs */
  62. #endif
  63.  
  64.  
  65. /* Help table IDs */
  66. #define IDH_BASE                5000
  67. #define IDH_MAIN_HELPTABLE      5001
  68. #define IDH_SUBTABLE_FRAME      5002
  69. #define IDH_FILEOPEN_DLG        5003
  70. #define IDH_SAVEAS_DLG          5004
  71.  
  72.  
  73. /* Help panel IDs */
  74. #define IDH_GENHELP_RESNO       100  /* General help resource number in HLP file */
  75. #define IDH_FILEOPEN_RESNO      135  /* File open dlg help resource number in HLP file*/
  76. #define IDH_SAVEAS_RESNO        155  /* Save as dlg help resource number in HLP file*/
  77. #define IDH_FILEOPENERR1_RESNO 8000  /* Message help resource number in HLP file*/
  78. #define IDH_FILEOPENERR2_RESNO 8010  /* Message help resource number in HLP file*/
  79. #define IDH_NOHELPERR_RESNO    8020  /* Message help resource number in HLP file*/
  80.  
  81.  
  82. /* String IDs */
  83. #define IDS_BASE                    300
  84. #define IDS_TITLE                   IDS_BASE + 1
  85. #define IDS_NO_FILE                 IDS_BASE + 2
  86. #define IDS_EXIT                    IDS_BASE + 3
  87. #define IDS_FILE_OPEN               IDS_BASE + 4
  88. #define IDS_OPEN_FILE               IDS_BASE + 5
  89. #define IDS_SAVE_FILE               IDS_BASE + 6
  90. #define IDS_UNDO                    IDS_BASE + 9
  91. #define IDS_COPY                    IDS_BASE + 10
  92. #define IDS_CUT                     IDS_BASE + 11
  93. #define IDS_PASTE                   IDS_BASE + 12
  94. #define IDS_SAVEAS                  IDS_BASE + 15
  95. #define IDS_SAVE                    IDS_BASE + 16
  96. #define IDS_FILE_SAVED              IDS_BASE + 17
  97. #define IDS_FILE_OPENED             IDS_BASE + 18
  98. #define IDS_ERROR_NO_FILE_LOADED    IDS_BASE + 19
  99. #define IDS_ERROR_NO_HELP           IDS_BASE + 20
  100. #define IDS_HELP_INDEX              IDS_BASE + 25
  101. #define IDS_HELP_GENERAL            IDS_BASE + 26
  102. #define IDS_HELP_USING              IDS_BASE + 27
  103. #define IDS_GENERAL_DESC            IDS_BASE + 28
  104. #define IDS_HELP_PRODINFO           IDS_BASE + 30
  105. #define IDS_OPEN                    IDS_BASE + 31
  106. #define IDS_HELP_TITLE              IDS_BASE + 33
  107. #define IDS_PRODINFO_OK             IDS_BASE + 34
  108. #define IDS_PRODINFO_TEXT1          IDS_BASE + 35
  109. #define IDS_PRODINFO_TEXT2          IDS_BASE + 36
  110. #define IDS_PRODINFO_TEXT3          IDS_BASE + 37
  111. #define IDS_PRODINFO_TEXT4          IDS_BASE + 38
  112. #define IDS_PRODINFO_TEXT5          IDS_BASE + 39
  113.  
  114. /* User event IDs */
  115. #define UM_BASE                     9000
  116. #define UM_NOHELP                   UM_BASE + 1
  117.