home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1998 August / DPCB0898.iso / Home / Etutor / 32BITVER / Appmsg.h < prev    next >
Text File  |  1996-09-18  |  12KB  |  250 lines

  1. /****************************************************************************\
  2. *                                                                            *
  3. *      Program Name:           EasyTutor Learn Office 95                     *
  4. *                                                                            *
  5. *      Copyright:              (c) CRT Multimedia 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:          30/11/95                                      *
  19. *                                                                            *
  20. *      Developers Names:        Duncan Lowe                                  *
  21. *                                Russell Hempel                                 *
  22. *                                Richard Jermyn                                 *
  23. *                                                                            *
  24. \****************************************************************************/
  25.  
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. // USER DEFINED MESSAGES - range WM_USER + 0 - WM_USER + n                                                  
  29. // Changed from WM_USER + 0 as this was clashing with the message
  30. // CM_BTNCLICK which was causing the animating to start.
  31. #define UDM_MODULE_MENU_ANIMATE_BUTTON  2500
  32.  
  33.  
  34.  
  35. /////////////////////////////////////////////////////////////////////////////
  36. // DISPLAY OBJECT MESSAGES
  37.  
  38.  
  39. /////////////////////////////////////////////////////////////////////////////
  40. // Root Display Object - range:                     1000 - 1099                      
  41.  
  42.  
  43. // destroys the current screen and creates a new one
  44. #define DO_SCREEN_DESTROY_AND_GOTO                  1000
  45.  
  46. // hides the current screen and creates a new one
  47. #define DO_SCREEN_HIDE_AND_GOTO                     1001
  48.  
  49. // destroys all but the current screen
  50. #define DO_SCREEN_DESTROY_NOT_CURRENT               1002
  51.  
  52. // informs the root object that we're entering the concept half of the app
  53. #define DO_SCREEN_ENTERING_CONCEPT                  1003
  54.            
  55. // informs the root object that we're entering the how-to half of the app
  56. #define DO_SCREEN_ENTERING_HOWTO                    1004
  57.  
  58. // destroys the current screen and goes to either the first concept page
  59. // or the how-to screen for the given topic, depending on which half of
  60. // the program we're in (goes to concept if we're not in either).
  61. #define DO_SCREEN_GOTO_MODULE                       1005
  62.  
  63. // informs the root display object which detail is selected
  64. #define DO_SCREEN_CURRENT_TOPIC                     1006
  65.  
  66. // informs the root display object which detail is selected
  67. #define DO_SCREEN_CURRENT_DETAIL                    1007
  68.  
  69. // skips from the how-to section to the appropriate part of the concept section
  70. #define DO_SCREEN_SKIP_TO_CONCEPT                   1008
  71.  
  72. // skips from the concept section to the appropriate part of the how-to section
  73. #define DO_SCREEN_SKIP_TO_HOWTO                     1009
  74.  
  75. // goes to a concept page within the curent topic
  76. #define DO_SCREEN_GOTO_CONCEPT_PAGE                 1010
  77.  
  78. // pages to the next concept page within the curent topic
  79. #define DO_SCREEN_NEXT_CONCEPT_PAGE                 1011
  80.  
  81. // pages to the previous concept page within the curent topic
  82. #define DO_SCREEN_PREVIOUS_CONCEPT_PAGE             1012
  83.  
  84. // informs the root display object that the current detail has been viewed
  85. #define DO_SCREEN_DETAIL_VIEWED                     1013
  86.  
  87. // sends a message to the current screen
  88. #define DO_SCREEN_SEND_TO_CURRENT                   1014
  89.  
  90. //  for the what next button - find an untried detail
  91. //  which is in the profile and then SKIP to it
  92. #define DO_SCREEN_WHAT_NEXT                         1017
  93.  
  94. // causes the glossary help screen to be loaded or brought to the front.
  95. #define DO_SCREEN_LOAD_GLOSSARY                     1018             
  96.  
  97. // sent when a preloaded popup needs to be displayed
  98. #define DO_SCREEN_SHOW_POPUP                         1019
  99.  
  100. // sent when a preloaded popup needs to be hidden
  101. #define DO_SCREEN_HIDE_POPUP                        1020
  102.  
  103. // causes a preloaded popup to show itself
  104. #define DO_SHOWING_POPUP                            1021
  105.  
  106. // causes a preloaded popup to hide itself
  107. #define DO_HIDING_POPUP                             1022
  108.  
  109. // POT FRAMEWORK MESSAGES
  110. #define DO_SCREEN_START_SCREEN_SEQUENCE             1023
  111. #define DO_SCREEN_STOP_SCREEN_SEQUENCE              1024
  112. #define DO_SCREEN_PAUSE_SCREEN_SEQUENCE             1025
  113. #define DO_SCREEN_RESUME_SCREEN_SEQUENCE            1026
  114. #define DO_SCREEN_PAUSE_SCREEN_CLOCK                1027
  115. #define DO_SCREEN_RESUME_SCREEN_CLOCK               1028
  116. #define DO_SCREEN_GOTO_SEQUENCE                     1029
  117. #define DO_SCREEN_CALL_SEQUENCE                     1030
  118. #define DO_SCREEN_PAUSE_SEQUENCE                    1031
  119. #define DO_SCREEN_RESUME_SEQUENCE                   1032
  120. #define DO_SCREEN_STOP_SEQUENCE                     1033
  121. #define DO_SCREEN_RETURN_FROM_SEQUENCE              1034
  122. #define DO_SCREEN_GOTO_TICK                         1035
  123. #define DO_SCREEN_CALL_TICK                         1036
  124.  
  125.  
  126. /////////////////////////////////////////////////////////////////////////////
  127. // opening screen messages - range:                 1100 - 1199                                                
  128.  
  129. #define DOW_OPENING_LBUTTONDOWN                     1100
  130.  
  131. /////////////////////////////////////////////////////////////////////////////
  132. // main menu messages - range:                      1200 - 1299                                                
  133.  
  134. #define    DO_MAIN_MENU_EXIT                            1200
  135. #define DO_MAIN_MENU_BLURRY_GRAPHIC                    1201
  136. #define DO_WHAT_NEXT_BLURRY_GRAPHIC                    1202
  137. #define DO_TEST_YOURSELF_BLURRY_GRAPHIC                1203
  138. #define DO_MAIN_EXIT_BLURRY_GRAPHIC                    1204
  139.  
  140. /////////////////////////////////////////////////////////////////////////////
  141. // profile popup messages - range:                  1300 - 1399                                                
  142.  
  143. #define DO_PROFILE_RESET                            1300
  144. #define DO_PROFILE_CHANGE                           1301
  145.  
  146. /////////////////////////////////////////////////////////////////////////////
  147. // question messages - range:                       1400 - 1499                                                
  148.  
  149. #define DO_QUESTION_CHOOSE                          1400
  150. #define DO_QUESTION_ANSWER_CHOSEN                   1401 
  151. #define DOW_QUESTION_TIME_UP                        1402
  152.  
  153.  
  154. /////////////////////////////////////////////////////////////////////////////
  155. // module menu messages - range:                    1500 - 1502                                                
  156.  
  157. #define DO_MODULE_MENU_SECTION_SELECTED             1500
  158. #define DO_MODULE_MENU_BLURRY_GRAPHIC                1501
  159. #define DO_MODULE_MENU_MODULE_SELECTED              1502
  160. #define DO_MODULE_MENU_ROLLOVER                        1503
  161.  
  162.  
  163. /////////////////////////////////////////////////////////////////////////////
  164. // video window that passes mouse clicks back to parent
  165. // messages - range:                                1600 - 1699                                                
  166.  
  167. #define DOW_LMOUSEBUTTONDOWN                        1600
  168. #define DO_MOUSECLICKEDOVERVIDEO                    1601           // passed back to parent
  169.  
  170. /////////////////////////////////////////////////////////////////////////////
  171. // video control messages - range:                  1700 - 1799                                                
  172.  
  173. #define DO_VIDEO_CONTROLS_RESET                     1700
  174. #define DO_VIDEO_CONTROLS_PLAY                      1701 
  175.  
  176.  
  177. /////////////////////////////////////////////////////////////////////////////
  178. // how to screen messages - range:                  1800 - 1899                                                
  179.  
  180. #define DO_NEW_DETAIL                               1800
  181. #define DO_RUN_DEMO                                 1801
  182. #define DO_RUN_TRYIT                                1802
  183. #define    DO_TUTORIAL_POINT                              1803
  184. #define    DO_TUTORIAL_SELECT                            1804
  185. #define    DO_TUTORIAL_UNPOINT                            1805
  186. #define    DO_TUTORIAL_REDRAW                            1806
  187. #define DO_PRINT_DETAIL                             1807
  188.  
  189. /////////////////////////////////////////////////////////////////////////////
  190. // demo/try it messages - range:                    1900 - 1999                                                
  191.  
  192. //  sequencing of events
  193. #define DOW_EVENT_DONE                              1900
  194. #define DOW_MOUSE_TIMER_CLICK                       1901
  195. #define DOW_PAUSE_TIMER_CLICK                       1902
  196. #define WM_EVENT_DONE                               1903
  197. #define DO_EVENT_DONE                               1904
  198. #define DO_HOTSPOT_RBUTTON_DOWN                     1905
  199. #define DO_HOTSPOT_RBUTTON_UP                       1906
  200. #define DO_HOTSPOT_LBUTTON_DBLCLK                   1907
  201. #define DO_DEMO_MOUSE_MOVE                          1908
  202. #define DO_DEMO_CHAR                                1909 
  203. #define DO_DEMO_PAINT                               1910
  204. #define DOW_ARROW_TIMER_CLICK                       1911
  205. #define DO_DEMO_COMPLETE                            1912
  206. #define DOW_DOUBLE_TIMER_CLICK                      1913   
  207. #define DOW_LCLICK_TIMER_CLICK                      1914 
  208. #define DOW_RCLICK_TIMER_CLICK                      1915 
  209. #define DOW_CHAR_TIMER_CLICK                        1916  
  210. #define DOW_KEY_TIMER_CLICK                         1917 
  211. #define DO_RTF_MESSAGE                                1918 
  212.  
  213.  
  214. /////////////////////////////////////////////////////////////////////////////
  215. // Search HowTo Topic messages - range:             2000 - 2099
  216.  
  217. #define DO_SEARCH_GOTO                                2000
  218. #define IDD_EDIT_CONTROL                            2001
  219. #define IDD_LIST_CONTROL                            2002
  220.  
  221.  
  222. /////////////////////////////////////////////////////////////////////////////
  223. // timed audio prompt messages - range:             2100 - 2199
  224.  
  225. #define DO_TIMEDAUDIOPROMPT_START                   2100
  226. #define DO_TIMEDAUDIOPROMPT_STOP                       2101
  227. #define DO_TIMEDAUDIOPROMPT_TIME_UP                    2102
  228. #define DO_SCREEN_EVENT_OCCURED                        2103
  229.  
  230. /////////////////////////////////////////////////////////////////////////////
  231. //   CRTV machine messages - range:                        2200 - 1299                                                
  232.  
  233. #define DO_CRTV_MACH_PLAY_CHANNEL                  2200
  234. #define DO_CRTV_MACH_CHANNEL_PLUS                  2201      
  235. #define DO_CRTV_MACH_CHANNEL_MINUS                 2202
  236. #define DO_CRTV_MACH_STOP                          2203
  237. #define DO_CRTV_MACH_PLAY_INTRO_VIDEO              2204
  238. #define DO_CRTV_MACH_FIRST_INTRO_PLAY              2205
  239.  
  240. /////////////////////////////////////////////////////////////////////////////
  241. //   Concept screen messages - range:               2300 - 2399                                                
  242.  
  243. #define DO_CONCEPT_START                            2300
  244. #define DO_CONCEPT_RESET                            2301
  245. #define DO_CONCEPT_RESTART                            2302
  246.  
  247. // Resource IDs For License Screen
  248. #define IDD_ACCEPT                                    2400
  249. #define IDD_DECLINE                                    2401
  250. #define IDD_LICENSE_EDIT                            2402