#define _EVTWDLG_

#define IDM_EVTFSAVE          101
#define IDM_EVTFRESTORE       102
#define IDM_EVTFEXIT          103

#define IDM_EVTEADD           110
#define IDM_EVTEDELETE        111
#define IDM_EVTECLEAR         112
#define IDM_EVTEDELETEALL     113

#define IDM_EVTWBKPT          132
#define IDM_EVTWCPU           120
#define IDM_EVTWEVENT         121
#define IDM_EVTWMEMORY        122
#define IDM_EVTWPERIPHERAL    123
#define IDM_EVTWSHELL         124
#define IDM_EVTWSOURCE        125
#define IDM_EVTWSTACK         126
#define IDM_EVTWSTATUS        127
#define IDM_EVTWTOOLBAR       128
#define IDM_EVTWTRACE         129
#define IDM_EVTWTRIGGER       130
#define IDM_EVTWVARIABLE      131
#define IDM_EVTWSPA           133


#define IDM_EVTHINDEX         140
#define IDM_EVTHHELP          141
#define IDM_EVTHEVENT         142     

//#define IDM_EVTACCEPT         143

#define IDD_OKAY              150
#define IDD_CANCEL            151
#define IDD_ADDEVENT          152
#define IDD_HELP              153

#define IDC_ACTIVEEVENT 700
#define IDE_ADDR        701
#define IDE_ENDADDR     702
#define IDE_ADDRMASK    703
#define IDE_DATA        704
#define IDE_DATAMASK    705

//define end and length button ID
#define IDB_END         800
#define IDB_LENGTH      801

#define HE_EVENT       2037
//define template button ID

#define MAXLENGTH 15
#define nUmGroup  20
#define nUmBsEachGroup 1
#define nMaxLen   80

#define MENU_OFFSET        0x3F00
#define SOURCE_WINDOW      0
#define STACK_WINDOW       1
#define VARIABLE_WINDOW    2
#define STATUS_WINDOW      3
#define CPU_WINDOW         4
#define MEMORY_WINDOW      5
#define TRACE_WINDOW       6
#define TRIGGER_WINDOW     7
#define SHELL_WINDOW       8
#define BREAKPOINT_WINDOW  9
#define TOOLBAR_WINDOW     10
#define PERIPHERAL_WINDOW  11
#define SPA_WINDOW         12

#ifdef __cplusplus
extern "C" {
#endif
RETCODE EXPORT EvtOpenWindow(HWND parent,int left,int top,int width,
     int height,DWORD dwStyle,DWORD dwExStyle,HWND *evtWindow);
RETCODE EXPORT EvtCloseWindow();
RETCODE EXPORT EvtExistsWindow(HWND *EvtHandle);
RETCODE EXPORT TrigClearTrigNameEnableAction(VOID);
RETCODE EXPORT TrigExistsWindow(HWND *EvtHandle);
#ifdef __cplusplus
}
#endif

