home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1997 February
/
DPCB0297.iso
/
internet
/
easytutr
/
DATA
/
CRT
/
APPMSG.H
< prev
next >
Wrap
Text File
|
1996-09-09
|
12KB
|
230 lines
/****************************************************************************\
* *
* Program Name: EasyTutor Get Connected. *
* *
* Copyright: (c) CRT Multimedia 1995/1996 *
* *
* Module Name: APPMSG.H *
* *
* Module Description: Contains User definined message definitions, *
* application defined display object message *
* and Root display object message definitions. *
* *
* Ranges for the display objects defined in the *
* application should start > 1000 so as not to *
* conflict with any of the predefined display *
* object messages in the Framework library. *
* *
* Creation Date: 11/08/95 *
* *
* Developer Names: Duncan Lowe *
* *
* 1-Sept-1995 : PJL : Added messages for questions *
* *
\****************************************************************************/
/////////////////////////////////////////////////////////////////////////////
// USER DEFINED MESSAGES - range WM_USER + 0 - WM_USER + n
/////////////////////////////////////////////////////////////////////////////
// DISPLAY OBJECT MESSAGES
/////////////////////////////////////////////////////////////////////////////
// Root Display Object - range: 1000 - 1099
// destroys the current screen and creates a new one
#define DO_SCREEN_DESTROY_AND_GOTO 1001
// hides the current screen and creates a new one
#define DO_SCREEN_HIDE_AND_GOTO 1002
// destroys all but the current screen
#define DO_SCREEN_DESTROY_NOT_CURRENT 1003
// sends a message to the current screen
#define DO_SCREEN_SEND_TO_CURRENT 1004
// opens a popup screen over the current screen
#define DO_SCREEN_OPEN_POPUP 1005
// closes any popup screen over the current screen
#define DO_SCREEN_CLOSE_POPUP 1006
// just switches to use a new crate.
#define DO_SCREEN_GOTO 1007
// 6/9/95 MPM The next two goto the next and previous screens in the current
// objective by interrogating the appstruct
#define DO_SCREEN_NEXT_OBJECTIVE 1008
#define DO_SCREEN_PREVIOUS_OBJECTIVE 1009
#define DO_SCREEN_THIS_OBJECTIVE 1010
//Starts off an applications install program
#define DO_START_APP 1011
// POT FRAMEWORK MESSAGES
#define DO_SCREEN_START_SCREEN_SEQUENCE 1023
#define DO_SCREEN_STOP_SCREEN_SEQUENCE 1024
#define DO_SCREEN_PAUSE_SCREEN_SEQUENCE 1025
#define DO_SCREEN_RESUME_SCREEN_SEQUENCE 1026
#define DO_SCREEN_PAUSE_SCREEN_CLOCK 1027
#define DO_SCREEN_RESUME_SCREEN_CLOCK 1028
#define DO_SCREEN_GOTO_SEQUENCE 1029
#define DO_SCREEN_CALL_SEQUENCE 1030
#define DO_SCREEN_PAUSE_SEQUENCE 1031
#define DO_SCREEN_RESUME_SEQUENCE 1032
#define DO_SCREEN_STOP_SEQUENCE 1033
#define DO_SCREEN_RETURN_FROM_SEQUENCE 1034
#define DO_SCREEN_GOTO_TICK 1035
#define DO_SCREEN_CALL_TICK 1036
/////////////////////////////////////////////////////////////////////////////
// machines screen messages - range: 1100 - 1199
#define DO_MACHSCR_SWITCH_MACHINE 1100
#define DO_MACHSCR_ACTIVATE 1101
#define DO_MACHSCR_DEACTIVATE 1102
#define DO_MACHINE_ACTIVATE 1101
#define DO_MACHINE_DEACTIVATE 1102
/////////////////////////////////////////////////////////////////////////////
// Intro machine messages - range: 1200 - 1299
#define DO_INTRO_MACH_PLAY_CHANNEL 1200
#define DO_INTRO_MACH_CHANNEL_PLUS 1201
#define DO_INTRO_MACH_CHANNEL_MINUS 1202
#define DO_INTRO_MACH_PAUSE_AVI 1203
#define DO_INTRO_MACH_REW_AVI 1204
#define DO_INTRO_MACH_END 1205
#define DO_INTRO_MACH_DONE 1206
#define DO_INTRO_MACH_PLAY_INTRO_VIDEO 1207
/////////////////////////////////////////////////////////////////////////////
// Profile machine messages - range: 1300 - 1399
#define DO_PROF_MACH_SHOW_TEXT 1300
#define DO_PROF_MACH_SET_LEARN_OBJ 1301
#define DO_PROF_MACH_RESET 1302
/////////////////////////////////////////////////////////////////////////////
// Modules machine messages - range: 1400 - 1499
#define DO_MOD_MACH_PLAY 1400
#define DO_MOD_MACH_SHOW_TEXT 1401
#define DO_MOD_MACH_LOOP_SND 1402
#define DO_MOD_MACH_HYPERTEXT 1403
#define DO_MOD_MACH_STOP_MUSIC 1404
#define DO_MOD_MACH_GOTO_MODULE 1405
#define DO_MOD_MACH_SHOW_INTRO 1406
/////////////////////////////////////////////////////////////////////////////
// Progress machine messages - range: 1500 - 1599
#define DO_PROG_MACH_SHOW_TEXT 1500
#define DO_PROG_MACH_SHOW_BAR 1501
#define DO_PROG_MACH_HIDE_BAR 1502
#define DO_PROG_MACH_PAINT 1503
#define DO_PROG_MACH_SWITCH_MACHINE 1504
/////////////////////////////////////////////////////////////////////////////
// Link machine messages - range: 1600 - 1699
#define DO_LINKMACH_RTF_FORWARD 1600
#define DO_LINKMACH_RTF_BACKWARD 1601
#define DO_LINKMACH_UPDATE 1602
#define DO_LINKMACH_CLOSE 1603
/////////////////////////////////////////////////////////////////////////////
// Library machine messages - range: 1700 - 1799
#define DO_LIBRARY_GLOSSARY_HELP 1700
#define DO_LIBRARY_WWW_HELP 1701
#define DO_LIBRARY_FTP_HELP 1702
#define DO_LIBRARY_USENET_HELP 1703
#define DO_LIBRARY_DONE 1704
#define DO_LIB_MACH_SHOW_TEXT 1705
/////////////////////////////////////////////////////////////////////////////
// CXDDemoWnd messages - range: 1800 - 1899
#define DOW_EVENT_DONE 1800
#define DOW_MOUSE_TIMER_CLICK 1801
#define DOW_PAUSE_TIMER_CLICK 1802
#define WM_EVENT_DONE 1803
#define DO_EVENT_DONE 1804
#define DO_HOTSPOT_RBUTTON_DOWN 1805
#define DO_HOTSPOT_RBUTTON_UP 1806
#define DO_HOTSPOT_LBUTTON_DBLCLK 1807
#define DO_DEMO_MOUSE_MOVE 1808
#define DO_DEMO_CHAR 1809
#define DO_DEMO_PAINT 1810
#define DOW_ARROW_TIMER_CLICK 1811
#define DO_DEMO_COMPLETE 1812
#define DOW_DOUBLE_TIMER_CLICK 1813
#define DOW_LCLICK_TIMER_CLICK 1814
#define DOW_RCLICK_TIMER_CLICK 1815
#define DOW_CHAR_TIMER_CLICK 1816
#define DOW_KEY_TIMER_CLICK 1817
/////////////////////////////////////////////////////////////////////////////
// CXDQuestion popup messages 1900-1999
#define DO_QUESTION_CHOOSE 1900
#define DO_QUESTION_ANSWER_CHOSEN 1901
#define DOW_QUESTION_TIME_UP 1902
#define DO_QUESTION_PAINT 1903
/////////////////////////////////////////////////////////////////////////////
// CXDProgressMachine 2000-2099
/////////////////////////////////////////////////////////////////////////////
// CXDModuleWnd - Module Screen messages 2100-2199
#define DO_MODULE_ITEM_POINTED 2100
#define DO_MODULE_EVENT_DONE 2101
#define DO_MODULE_PAINT 2102
#define DO_MODULE_MOUSE_MOVE 2103
#define DO_MODULE_LBUTTONDOWN 2104
#define DO_MODULE_LBUTTONUP 2105
#define DOW_MODULE_EVENT_DONE 2106
#define WM_MODULE_EVENT_DONE 2107
#define DOW_MODULE_PAUSE_TIMER 2108
#define DO_MODULE_SHOW_AND_PLAY_VIDEO 2109
#define DO_MODULE_PLAY_AUDIO 2110
#define DO_MODULE_SCREEN_GOTO 2111
#define DO_MODULE_STOP_AUDIO 2112
/////////////////////////////////////////////////////////////////////////////
// CXDNavbar - Navigation bar messages 2200-2299 *
#define DO_NAVBAR_GOTO_MACHINE 2200
#define DO_NAVBAR_GOTO_MODULE_MENU 2201
#define DO_NAVBAR_GO_BACK 2202
#define DO_NAVBAR_GO_FORWARD 2203
#define DO_NAVBAR_NEW_SCREEN 2204
#define DO_NAVBAR_START_DEMO 2205
#define DO_NAVBAR_END_DEMO 2206
#define DO_NAVBAR_PAINT 2207
#define DO_NAVBAR_HISTORY_POINTED 2208
#define DO_NAVBAR_HISTORY_UNPOINTED 2209
#define DO_NAVBAR_HISTORY_SELECTED 2210
/////////////////////////////////////////////////////////////////////////////
// CXDWhatNextSubMachine - What Next messages 2300-2399
#define DO_WHNSUBM_GOTO_MODULE 2300
#define DO_WHNSUBM_SETNEXTMODULE 2301
// For the License Screen
#define IDD_ACCEPT 2400
#define IDD_DECLINE 2401
#define IDD_LICENSE_EDIT 2402