#define _SPAWDLG_

typedef enum { MODULE_MODE=0,INSTRUCTION_MODE} RANGE_MODE_TYPE ;

#define IDSYSCANCEL        2

#define MODULE_MODE        10
#define INSTRUCTION_MODE   11

#define IDM_SPAFEXIT	      101
#define IDM_SPAMODULA	      102
#define IDM_SPATIME	      103
#define IDM_SPACODE           104

#define IDC_RANGE00           110
#define IDC_RANGE01           111
#define IDC_RANGE02           112
#define IDC_RANGE03           113
#define IDC_RANGE04           114

#define IDC_BSSTART           120
#define IDC_BSSTOP            121
//#define IDC_BSRESTART         122
#define IDC_BSRANGE           122
#define IDC_BSCLOSE           123
#define IDC_BSHELP            124
#define IDC_BSASM             125

#define IDC_BRK               129
#define IDC_RANGELIST         130

//define set breakpoint dialog id
#define IDB_OK                200
#define IDB_CANCEL            201
#define IDB_HELP              202
#define IDB_BRKPOINT          203
#define IDB_MODULES           204
#define IDB_FUNCTIONS         205
#define IDB_BORSHADE          206

//define Ranges dialog id
#define IDR_LISTBOX           210
#define IDR_CLOSE             211
#define IDR_HELP              212
#define IDR_ADD               213
#define IDR_EDIT              214
#define IDR_DELETE            215
#define IDR_SAVE              216
#define IDR_RESTORE           217
#define IDR_BORSHADE          218
#define IDR_DISABLE           250
#define IDR_ENABLE            251

//define Add Range dialog id
#define IDA_RANGENAME         220
#define IDA_STARTADDRESS      221
#define IDA_ENDADDRESS        222
#define IDA_BROWER            223
#define IDA_OK                224
#define IDA_CANCEL            225
#define IDA_HELP              226
#define IDA_BORSHADE00        227
#define IDA_BORSHADE01        228

//define Browse dialog id
#define IDO_MODULE           230
#define IDO_FUNCTION         231
#define IDO_OK               232
#define IDO_CANCEL           233
#define IDO_HELP             234
#define IDO_BORSHADE         235

//define CodeCoverage edit id
#define IDE_DIR              240
#define IDE_TITLELIST        241
#define IDE_BAR              242
#define IDM_TIMER            243

//define virtual key code
#define VK_S   0x53
#define VK_T   0x54
#define VK_R   0x52
#define VK_C   0x43
#define VK_H   0x48
#define VK_B   0x42


//define template button ID

#ifdef __cplusplus
extern "C" {
#endif
RETCODE EXPORT SPAOpenWindow(int left,int top,int width,
     int height,DWORD dwStyle,DWORD dwExStyle,HWND *SPAWindow);
RETCODE EXPORT SPACloseWindow();
RETCODE EXPORT SPAExistsWindow(HWND *EvtHandle);
RETCODE EXPORT InitCServer(HANDLE cliHandle, HANDLE dllHandle);

#ifdef __cplusplus
}
#endif

