#define MAX_CHILDREN 40
#define MAX_MRU 5

#define WM_WINMENU WM_USER
#define EM_GETINSERTSTATUS (WM_USER + 1)
#define WM_REDRAWTOOLBAR (WM_USER + 2)
#define WM_SETCOLOR (WM_USER + 3)
#define WM_RETRIEVECOLOR (WM_USER + 4)
#define WM_SETEDITORSETTINGS (WM_USER + 5)

#define IDC_GOTO 101

#define IDC_OUTPUTPATH 101
#define IDC_INCLUDEPATH 102
#define IDC_BUILDTYPE 103

#define IDC_INSTALLPATH 101

#define IDC_BACKUPFILE 101
#define IDC_BACKUPPROJ 102

#define ID_QUERYSAVE	100
#define ID_QUERYHASFILE 101
#define ID_MRU_LIST	102
#define ID_STATUS_WINDOW 103

#define IDM_NEWDRAW 	120
#define IDM_OPEN	121

#define IDM_GENERALPROPERTIES 130
#define IDM_VIEWPROJECT 131
#define IDM_VIEWERROR   132

#define IDM_SAVE	145
#define IDM_SAVEAS	146
#define IDM_CLOSE 	147
#define IDM_EXIT	148
#define IDM_ABOUT	149


#define IDM_CASCADE	150
#define IDM_TILE	151
#define IDM_ARRANGE	152

#define IDM_CUT	        160
#define IDM_COPY        161
#define IDM_PASTE       162
#define IDM_UNDO        163
#define IDM_SELECTALL   164
#define IDM_GOTO	165

#define IDM_FIND	170
#define IDM_FINDNEXT	171
#define IDM_REPLACE	172

#define IDM_OPENPROJECT 180
#define IDM_CLOSEPROJECT 181
#define IDM_NEWPROJECT 182
#define IDM_ADDFILES 183
#define IDM_REMOVEFILES 184
#define IDM_OPENFILES 185
#define IDM_ADDTARGET 186
#define IDM_REMOVETARGET 187
#define IDM_CALCDEPENDS 188
#define IDM_PROJECTPROPERTIES 189

#define IDM_MAKE 200
#define IDM_BUILDALL 201
#define IDM_COMPILEFILE 202

#define ID_REDRAWSTATUS 300

#define IDC_KEYWORDCOLOR 310
#define IDC_COMMENTCOLOR 311
#define IDC_NUMBERCOLOR 312
#define IDC_ESCAPECOLOR 313
#define IDC_CHECKBOX1	101
#define IDC_CHECKBOX2	102
#define IDC_STRINGCOLOR 314
#define IDC_TABSTOPS 315

#define IDM_FIRSTCHILD 1000
#define ID_EDITCHILD 1000

#define ID_TREEVIEW 2000

#define ID_TOOLBAR 3000

#define ProjectsMenuItem 5