home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / hello6 / ahellow6.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  8.0 KB  |  183 lines

  1. /******************************************************************************
  2. * .FILE:         adialog6.h                                                   *
  3. *                                                                             *
  4. * .DESCRIPTION:  Hello World Sample Program Version 6: Symbolic Definitions   *
  5. *                                                                             *
  6. * .COPYRIGHT:                                                                 *
  7. *    Licensed Material - Program-Property of IBM                              *
  8. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  9. *                                                                             *
  10. * .DISCLAIMER:                                                                *
  11. *   The following [enclosed] code is sample code created by IBM               *
  12. *   Corporation.  This sample code is not part of any standard IBM product    *
  13. *   and is provided to you solely for the purpose of assisting you in the     *
  14. *   development of your applications.  The code is provided 'AS IS',          *
  15. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  16. *   arising out of your use of the sample code, even if they have been        *
  17. *   advised of the possibility of such damages.                               *
  18. *                                                                             *
  19. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  20. *                                                                             *
  21. ******************************************************************************/
  22. #ifndef AHELLOWINDOW_H
  23. #define AHELLOWINDOW_H
  24.  
  25. //**************************************************************************
  26. // window ids - used by IWindow constructors (eg IStaticText, AHelloWindow)*
  27. //**************************************************************************
  28. #define WND_MAIN         0x1000
  29.  
  30. #define WND_HELLO        0x1010
  31. #define WND_INFO         0x1012
  32. #define WND_STATUS       0x1011
  33. #define WND_TEXTDIALOG   0x1013
  34. #define WND_EARTH        0x1014
  35. #define WND_CANVAS       0x8008
  36. #define WND_MCCANVAS     0x8008
  37. #define WND_STCANVAS     0x1015
  38. #define WND_BUTTONS      0x1021
  39. #define WND_HCANVAS      0x1040
  40. #define WND_LISTBOX      0x1050
  41. #define WND_STATUSCANVAS 0x1060
  42. #define WND_TIME         0x1061
  43. #define WND_DATE         0x1062
  44. #define WND_HELLOPOPUP   0x1070
  45. #define WND_EARTHPOPUP   0x1071
  46.  
  47. //******************************************************************************
  48. // window ids - used by ANotebookWindow class (the names describe the purpose) *
  49. //******************************************************************************
  50. #define WND_NOTEBOOKFRAME       0x2000
  51. #define WND_NOTEBOOK            0x8008
  52. #define WND_EARTHPAGE           0x2100
  53. #define WND_EARTHPAGEHEADING    0x2101
  54. #define WND_STARSHEADING        0x2110
  55. #define WND_STARSSETTINGS       0x2111
  56. #define WND_TWINKLEBOX          0x2112
  57. #define WND_BRIGHTBOX           0x2113
  58. #define WND_LAYERSHEADING       0x2120
  59. #define WND_LAYERSSPIN          0x2121
  60. #define WND_EARTHCOLORHEADING   0x2130
  61. #define WND_EARTHCOLORSETTINGS  0x2131
  62. #define WND_CYANBUTTON          0x2132
  63. #define WND_GREENBUTTON         0x2133
  64. #define WND_WHITEBUTTON         0x2134
  65. #define WND_YELLOWBUTTON        0x2135
  66. #define WND_EARTHPAGEBUTTONS    0x2140
  67. #define DID_EARTHAPPLY          0x2141
  68. #define DID_EARTHRESET          0x2142
  69. #define WND_DATETIMEPAGE        0x2150
  70. #define WND_DATETIMEPAGEHEADING 0x2151
  71. #define WND_DATEHEADING         0x2160
  72. #define WND_DATESETTINGS        0x2161
  73. #define WND_DATELONGBOX         0x2162
  74. #define WND_DATESHORTBOX        0x2163
  75. #define WND_DATEEXAMPLES        0x2164
  76. #define WND_DATELONGEXAMPLE     0x2165
  77. #define WND_DATESHORTEXAMPLE    0x2166
  78. #define WND_TIMEHEADING         0x2170
  79. #define WND_TIMESETTINGS        0x2171
  80. #define WND_TIMELONGBOX         0x2172
  81. #define WND_TIMESHORTBOX        0x2173
  82. #define WND_TIMEEXAMPLES        0x2174
  83. #define WND_TIMELONGEXAMPLE     0x2175
  84. #define WND_TIMESHORTEXAMPLE    0x2176
  85. #define WND_DATETIMEPAGEBUTTONS 0x2180
  86. #define DID_DATETIMEAPPLY       0x2181
  87. #define DID_DATETIMERESET       0x2182
  88. #define DID_NOTEBOOKCLOSE       0x2183
  89.  
  90. //**************************************************************************
  91. // string ids - used to relate resources to IStaticText and ITitle         *
  92. //**************************************************************************
  93. #define STR_HELLO        0x1200
  94. #define STR_INFO         0x1220
  95. #define STR_INFODLG      0x1221
  96. #define STR_CENTER       0x1230
  97. #define STR_LEFT         0x1231
  98. #define STR_RIGHT        0x1232
  99. #define STR_CENTERB      0x1240
  100. #define STR_LEFTB        0x1241
  101. #define STR_RIGHTB       0x1242
  102. #define STR_HELPB        0x1243
  103. #define STR_HTITLE       0x1250
  104. #define STR_HELP_NOT_FOUND 0x1251
  105. #define STR_FONTDLGT     0x1261
  106.  
  107. //******************************************************************************
  108. // string ids - used by ANotebookWindow class (the names describe the purpose) *
  109. //******************************************************************************
  110. #define STR_EARTHTAB            0x2200
  111. #define STR_DATETIMETAB         0x2201
  112. #define STR_EARTHPAGEHEADING    0x2210
  113. #define STR_STARSHEADING        0x2220
  114. #define STR_TWINKLEBOX          0x2221
  115. #define STR_BRIGHTBOX           0x2222
  116. #define STR_LAYERSHEADING       0x2230
  117. #define STR_EARTHCOLORHEADING   0x2240
  118. #define STR_CYAN                0x2241
  119. #define STR_GREEN               0x2242
  120. #define STR_WHITE               0x2243
  121. #define STR_YELLOW              0x2244
  122. #define STR_DATETIMEPAGEHEADING 0x2250
  123. #define STR_DATEHEADING         0x2260
  124. #define STR_DATELONGBOX         0x2261
  125. #define STR_DATESHORTBOX        0x2262
  126. #define STR_DATELONGEXAMPLE     0x2263
  127. #define STR_DATESHORTEXAMPLE    0x2264
  128. #define STR_TIMEHEADING         0x2270
  129. #define STR_TIMELONGBOX         0x2271
  130. #define STR_TIMESHORTBOX        0x2272
  131. #define STR_TIMELONGEXAMPLE     0x2273
  132. #define STR_TIMESHORTEXAMPLE    0x2274
  133. #define STR_APPLY               0x2280
  134. #define STR_RESET               0x2281
  135. #define STR_CLOSE               0x2282
  136. #define STR_READOK              0x2283
  137. #define STR_SAVEDOK             0x2284
  138.  
  139. //**************************************************************************
  140. // Menu IDs - used to relate command ID to menu items, buttons, and keys   *
  141. //**************************************************************************
  142. #define MI_ALIGNMENT     0x1500
  143. #define MI_CENTER        0x1501
  144. #define MI_LEFT          0x1502
  145. #define MI_RIGHT         0x1503
  146. #define MI_EDIT          0x1504
  147. #define MI_TEXT          0x1505
  148. #define MI_HELP          0x1510
  149. #define MI_FONT          0x1507
  150. #define MI_SETTINGS      0x1511
  151. #define MI_READSETS      0x1512
  152. #define MI_OPENSETS      0x1513
  153. #define MI_SAVESETS      0x1508
  154. #define MI_TWINKLE       0x1520
  155. #define MI_BRIGHT        0x1521
  156. #define MI_DIM           0x1522
  157.  
  158. //**************************************************************************
  159. // Hello IDs - used for different language versions of Hello World text    *
  160. //**************************************************************************
  161. #define HI_WORLD         0x1700
  162. #define HI_COUNT         8
  163.  
  164. //**************************************************************************
  165. // Dialog IDs - window IDs used in ATextDialog class                       *
  166. //**************************************************************************
  167. #ifndef DID_OK
  168. #define DID_OK           0x0001
  169. #endif
  170. #ifndef DID_CANCEL
  171. #define DID_CANCEL       0x0002
  172. #endif
  173. #define DID_ENTRY        0x1603
  174. #define DID_STATIC       0x1604
  175.  
  176. //**************************************************************************
  177. // Help IDs - used to relate resources to IHelp class                      *
  178. //**************************************************************************
  179. #define HELP_TABLE       0x1800
  180. #define SUBTABLE_MAIN    0x1801
  181. #define SUBTABLE_DIALOG  0x1802
  182. #endif
  183.