home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1997 February / DPCB0297.iso / internet / easytutr / DATA / CRT / APPMSG.H < prev    next >
Text File  |  1996-09-09  |  12KB  |  230 lines

  1. /****************************************************************************\
  2. *                                                                            *
  3. *      Program Name:           EasyTutor Get Connected.                      *
  4. *                                                                            *
  5. *      Copyright:              (c) CRT Multimedia 1995/1996                  *
  6. *                                                                            *
  7. *      Module Name:            APPMSG.H                                      *
  8. *                                                                            *
  9. *      Module Description:     Contains User definined message definitions,  *
  10. *                              application defined display object message    *
  11. *                              and Root display object message definitions.  *
  12. *                                                                            *
  13. *                              Ranges for the display objects defined in the *
  14. *                              application should start > 1000 so as not to  *
  15. *                              conflict with any of the predefined display   *
  16. *                              object messages in the Framework library.     *
  17. *                                                                            *
  18. *      Creation Date:          11/08/95                                      *
  19. *                                                                            *
  20. *      Developer Names:        Duncan Lowe                                   *
  21. *                                                                            *
  22. *      1-Sept-1995 : PJL : Added messages for questions                      *
  23. *                                                                            *
  24. \****************************************************************************/
  25.  
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. // USER DEFINED MESSAGES - range WM_USER + 0 - WM_USER + n                                                  
  29.  
  30.  
  31.  
  32. /////////////////////////////////////////////////////////////////////////////
  33. // DISPLAY OBJECT MESSAGES
  34.  
  35.  
  36. /////////////////////////////////////////////////////////////////////////////
  37. // Root Display Object - range:                     1000 - 1099                      
  38.  
  39. // destroys the current screen and creates a new one
  40. #define DO_SCREEN_DESTROY_AND_GOTO                  1001
  41.  
  42. // hides the current screen and creates a new one
  43. #define DO_SCREEN_HIDE_AND_GOTO                     1002
  44.  
  45. // destroys all but the current screen
  46. #define DO_SCREEN_DESTROY_NOT_CURRENT               1003
  47.  
  48. // sends a message to the current screen
  49. #define DO_SCREEN_SEND_TO_CURRENT                   1004
  50.  
  51. // opens a popup screen over the current screen
  52. #define DO_SCREEN_OPEN_POPUP                        1005
  53.  
  54. // closes any popup screen over the current screen
  55. #define DO_SCREEN_CLOSE_POPUP                       1006
  56.  
  57. // just switches to use a new crate.
  58. #define DO_SCREEN_GOTO                              1007
  59.  
  60. // 6/9/95 MPM The next two goto the next and previous screens in the current
  61. // objective by interrogating the appstruct
  62. #define DO_SCREEN_NEXT_OBJECTIVE                    1008
  63. #define DO_SCREEN_PREVIOUS_OBJECTIVE                1009
  64. #define DO_SCREEN_THIS_OBJECTIVE                    1010
  65.  
  66. //Starts off an applications install program
  67. #define DO_START_APP                                1011
  68.  
  69. // POT FRAMEWORK MESSAGES
  70. #define DO_SCREEN_START_SCREEN_SEQUENCE             1023
  71. #define DO_SCREEN_STOP_SCREEN_SEQUENCE              1024
  72. #define DO_SCREEN_PAUSE_SCREEN_SEQUENCE             1025
  73. #define DO_SCREEN_RESUME_SCREEN_SEQUENCE            1026
  74. #define DO_SCREEN_PAUSE_SCREEN_CLOCK                1027
  75. #define DO_SCREEN_RESUME_SCREEN_CLOCK               1028
  76. #define DO_SCREEN_GOTO_SEQUENCE                     1029
  77. #define DO_SCREEN_CALL_SEQUENCE                     1030
  78. #define DO_SCREEN_PAUSE_SEQUENCE                    1031
  79. #define DO_SCREEN_RESUME_SEQUENCE                   1032
  80. #define DO_SCREEN_STOP_SEQUENCE                     1033
  81. #define DO_SCREEN_RETURN_FROM_SEQUENCE              1034
  82. #define DO_SCREEN_GOTO_TICK                         1035
  83. #define DO_SCREEN_CALL_TICK                         1036
  84.  
  85.  
  86.  
  87. /////////////////////////////////////////////////////////////////////////////
  88. // machines screen messages - range:                1100 - 1199                                                
  89.  
  90. #define DO_MACHSCR_SWITCH_MACHINE                   1100
  91. #define DO_MACHSCR_ACTIVATE                         1101
  92. #define DO_MACHSCR_DEACTIVATE                       1102
  93. #define DO_MACHINE_ACTIVATE                         1101
  94. #define DO_MACHINE_DEACTIVATE                       1102
  95.  
  96. /////////////////////////////////////////////////////////////////////////////
  97. //   Intro machine messages - range:                1200 - 1299                                                
  98.  
  99. #define DO_INTRO_MACH_PLAY_CHANNEL                  1200
  100. #define DO_INTRO_MACH_CHANNEL_PLUS                  1201      
  101. #define DO_INTRO_MACH_CHANNEL_MINUS                 1202
  102. #define DO_INTRO_MACH_PAUSE_AVI                     1203
  103. #define DO_INTRO_MACH_REW_AVI                       1204 
  104. #define DO_INTRO_MACH_END                           1205
  105. #define DO_INTRO_MACH_DONE                          1206 
  106. #define DO_INTRO_MACH_PLAY_INTRO_VIDEO              1207
  107.  
  108. /////////////////////////////////////////////////////////////////////////////
  109. //   Profile machine messages - range:              1300 - 1399                                                
  110.  
  111. #define DO_PROF_MACH_SHOW_TEXT                      1300
  112. #define DO_PROF_MACH_SET_LEARN_OBJ                  1301
  113. #define DO_PROF_MACH_RESET                          1302
  114.  
  115. /////////////////////////////////////////////////////////////////////////////
  116. //   Modules machine messages - range:              1400 - 1499                                                
  117.  
  118. #define DO_MOD_MACH_PLAY                            1400
  119. #define DO_MOD_MACH_SHOW_TEXT                       1401
  120. #define DO_MOD_MACH_LOOP_SND                        1402
  121. #define DO_MOD_MACH_HYPERTEXT                       1403
  122. #define DO_MOD_MACH_STOP_MUSIC                      1404
  123. #define DO_MOD_MACH_GOTO_MODULE                     1405
  124. #define DO_MOD_MACH_SHOW_INTRO                      1406
  125.  
  126. /////////////////////////////////////////////////////////////////////////////
  127. //   Progress machine messages - range:             1500 - 1599                                                
  128.  
  129. #define DO_PROG_MACH_SHOW_TEXT                      1500
  130. #define DO_PROG_MACH_SHOW_BAR                       1501
  131. #define DO_PROG_MACH_HIDE_BAR                       1502
  132. #define DO_PROG_MACH_PAINT                          1503
  133. #define DO_PROG_MACH_SWITCH_MACHINE                 1504
  134.  
  135.  
  136. /////////////////////////////////////////////////////////////////////////////
  137. //   Link machine messages - range:             1600 - 1699
  138.  
  139. #define DO_LINKMACH_RTF_FORWARD                      1600
  140. #define DO_LINKMACH_RTF_BACKWARD                     1601
  141. #define DO_LINKMACH_UPDATE                           1602
  142. #define DO_LINKMACH_CLOSE                             1603
  143.  
  144. /////////////////////////////////////////////////////////////////////////////
  145. //   Library machine messages - range:              1700 - 1799                                                
  146.  
  147. #define DO_LIBRARY_GLOSSARY_HELP                    1700
  148. #define DO_LIBRARY_WWW_HELP                         1701
  149. #define DO_LIBRARY_FTP_HELP                         1702
  150. #define DO_LIBRARY_USENET_HELP                      1703
  151. #define DO_LIBRARY_DONE                             1704
  152. #define DO_LIB_MACH_SHOW_TEXT                       1705
  153.                                                                               
  154.  
  155. /////////////////////////////////////////////////////////////////////////////
  156. //   CXDDemoWnd messages - range:                   1800 - 1899                                                
  157.  
  158. #define DOW_EVENT_DONE                              1800
  159. #define DOW_MOUSE_TIMER_CLICK                       1801
  160. #define DOW_PAUSE_TIMER_CLICK                       1802
  161. #define WM_EVENT_DONE                               1803
  162. #define DO_EVENT_DONE                               1804
  163. #define DO_HOTSPOT_RBUTTON_DOWN                     1805
  164. #define DO_HOTSPOT_RBUTTON_UP                       1806
  165. #define DO_HOTSPOT_LBUTTON_DBLCLK                   1807
  166. #define DO_DEMO_MOUSE_MOVE                          1808
  167. #define DO_DEMO_CHAR                                1809 
  168. #define DO_DEMO_PAINT                               1810
  169. #define DOW_ARROW_TIMER_CLICK                       1811
  170. #define DO_DEMO_COMPLETE                            1812
  171. #define DOW_DOUBLE_TIMER_CLICK                      1813   
  172. #define DOW_LCLICK_TIMER_CLICK                      1814 
  173. #define DOW_RCLICK_TIMER_CLICK                      1815 
  174. #define DOW_CHAR_TIMER_CLICK                        1816  
  175. #define DOW_KEY_TIMER_CLICK                         1817   
  176.  
  177.  
  178. /////////////////////////////////////////////////////////////////////////////
  179. //   CXDQuestion popup messages                        1900-1999
  180.  
  181. #define DO_QUESTION_CHOOSE                          1900
  182. #define DO_QUESTION_ANSWER_CHOSEN                   1901 
  183. #define DOW_QUESTION_TIME_UP                        1902
  184. #define DO_QUESTION_PAINT                           1903
  185.  
  186. /////////////////////////////////////////////////////////////////////////////
  187. //   CXDProgressMachine                        2000-2099
  188.  
  189. /////////////////////////////////////////////////////////////////////////////
  190. //   CXDModuleWnd  - Module Screen messages    2100-2199
  191.  
  192. #define DO_MODULE_ITEM_POINTED                     2100  
  193. #define DO_MODULE_EVENT_DONE                       2101
  194. #define DO_MODULE_PAINT                            2102   
  195. #define DO_MODULE_MOUSE_MOVE                       2103   
  196. #define DO_MODULE_LBUTTONDOWN                      2104
  197. #define DO_MODULE_LBUTTONUP                        2105
  198. #define DOW_MODULE_EVENT_DONE                      2106
  199. #define WM_MODULE_EVENT_DONE                       2107     
  200. #define DOW_MODULE_PAUSE_TIMER                     2108
  201. #define DO_MODULE_SHOW_AND_PLAY_VIDEO              2109
  202. #define DO_MODULE_PLAY_AUDIO                       2110                                                 
  203. #define DO_MODULE_SCREEN_GOTO                      2111
  204. #define DO_MODULE_STOP_AUDIO                       2112     
  205.  
  206. /////////////////////////////////////////////////////////////////////////////
  207. //   CXDNavbar - Navigation bar messages        2200-2299                                         *
  208.  
  209. #define DO_NAVBAR_GOTO_MACHINE                     2200
  210. #define DO_NAVBAR_GOTO_MODULE_MENU                 2201
  211. #define DO_NAVBAR_GO_BACK                          2202
  212. #define DO_NAVBAR_GO_FORWARD                       2203
  213. #define DO_NAVBAR_NEW_SCREEN                       2204
  214. #define DO_NAVBAR_START_DEMO                       2205
  215. #define DO_NAVBAR_END_DEMO                         2206
  216. #define DO_NAVBAR_PAINT                            2207
  217. #define DO_NAVBAR_HISTORY_POINTED                  2208
  218. #define DO_NAVBAR_HISTORY_UNPOINTED                2209
  219. #define DO_NAVBAR_HISTORY_SELECTED                 2210
  220.  
  221. /////////////////////////////////////////////////////////////////////////////
  222. //   CXDWhatNextSubMachine - What Next messages 2300-2399
  223. #define DO_WHNSUBM_GOTO_MODULE                     2300
  224. #define DO_WHNSUBM_SETNEXTMODULE                   2301
  225.  
  226. // For the License Screen
  227. #define IDD_ACCEPT                                    2400
  228. #define IDD_DECLINE                                    2401
  229. #define IDD_LICENSE_EDIT                            2402
  230.