// tutdef.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _ID_CASE
#define _ID_CASE
#define TM_TIP_ACTIVE  (WM_USER+1801)
#define TM_WIN_CHANGE  (WM_USER+1802)
#define TM_SOUND_PLAY  (WM_USER+1803)
#define IDAUTO             500
#define IDAUTOBTN          550
#define AUTOPLAY           600
#define IDC_SRCHCOMBO      100
#define ID_EXIT_PROCESS    300
#define ID_START           320
#define ID_STOP_DOME       310
#define ID_AUTO_PLAY       330
#define ID_NEXT_PLAY       340
#define ID_BTN_START       400
#define ID_FIRST_SOURCE    401
#define ID_FIRST_MEMORY    402
#define ID_FIRST_BITMEMORY 403
#define ID_FIRST_STACK     404
#define ID_FIRST_VAR       405
#define ID_FIRST_CPU       406
#define ID_FIRST_PER       407
#define ID_FIRST_SHELL     408
#define ID_FIRST_TRACE     409
#define ID_FIRST_AUTO      410
#define ID_CPU_DEC         411
#define ID_CPU_HEX         412
#define ID_MEM_3           413
#define ID_MEM_DEC         414
#define ID_MEM_HEX         430
#define ID_MEM_WORD        440
#define ID_SRC_HEX         415
#define ID_SRC_WORD        416
#define ID_SRC_ASM         417
#define ID_SRC_MIX         418
#define ID_STK_EXTV        419
#define ID_STK_FFL         420
#define ID_STK_FULL        421
#define ID_STK_LAF         422
#define ID_STK_VAR         423
#define ID_STK_VARMODIFY   424
#define ID_STK_VARSEL      425
#define ID_TRACE_INSTRUCTION  426
#define ID_EXIT_ADVANCE    427
#define ID_MSG_ACTION      428
#define ID_CASE_EXIT       429
#define ID_TRACE           430
#define ID_MEMORY          440 
    
#define ID_CASE_START      0
#define ID_CASE_SET_MAP    2
#define ID_CASE_LOAD_FILE  21
#define ID_CASE_SET_BP     22
#define ID_CASE_GO         23
#define ID_CASE_MODE_SEL   24 
#define ID_CASE_STEP       25 
#define ID_CASE_FIRST_LOOK 26
#define ID_CASE_VARIABLE   27 
#define ID_CASE_ADVANCE    28
#define ID_ADVANCE_TRACE   29
#define ID_ADVANCE_EVENT   30
#define ID_ADVANCE_TRIGGER 31
#define ID_ADVANCE_FILTER  32
#define ID_ADVANCE_MEM     33
#define ID_ADVANCE_MEM_DLG 34

#define IDW_SRC_WND        WM_USER+1 // identify src list
#define ID_SHOW_SRC        WM_USER+2 //open src wnd
#define ID_LOAD_STATUS     WM_USER+3
#define SETFOCUS           11
#define NOTSETFOCUS        10
#define KILLFOCUS          21
#define NOTKILLFOCUS       20
#define CLOSEFOCUS         23
#define SHOWFOCUSMSG       24
#define SETERROR           0
#define SETSUCCESS         1
#define NOTMODAL           0
#define MODAL              1  
#define STEPMSG            1
#define NOTEMSG            0
#define DOOROPEN           1
#define NOTDOOROPEN        0
#define SHOW               1
#define HIDE               0 
#define UPPER              1
#define DOWN               0 
#define ST_TEXT            1
#define ST_BITMAP          0
#define ST_TIME            1   
#define ST_TUTORIAL        1
#define ST_NOTTUTORIAL     0
#define TIME               1  
#define SYSTIME            100
#define MANTIMER           120
#define AUTOTIMER          140
#define MENUTIMER          150   
#define NEXTDELAY          160
#define MS_STEP            1
#define MS_OVERMSG         0
#define SR_SOURCE          100
#define SR_ASSAMBLE        200
#define SR_MIXED           300
#define SR_SCROLL          0
#define SR_KEYCARET        1
#define SBP_NOTMOVE        1
#define SBP_MOVE           0

enum {
    WID_MAIN,
    WID_CPU, 
    WID_SHELL, 
    WID_TRACE, 
    WID_MEMORY, 
    WID_MEM2,
    WID_MEM3,
    WID_SOURCE,
    WID_STACK,
    WID_VARIABLE,
    WID_BMEM,
    WID_PERI,
    WID_COUNT
};

#endif

       