#define IDM_FILENEW 101
#define IDM_FILEOPEN 102
#define IDM_FILESAVE 103
#define IDM_FILESAVEAS 104
#define IDM_FILESAVESEL 105
#define IDM_FILEINCLUDE 106
#define IDM_FILEEXPORT 107
#define IDM_FILEPROPS 108
//#define IDM_FILEPRINTSET 108
//#define IDM_FILEPRINT 109
#define IDM_FILEEXIT 109

#define modSelect 0
#define modLine 1
#define modCircle 2
#define modEllipse 3
#define modArcElps 4
#define modHyperbola 5
#define modParabola 6
#define modSpline 7
#define modEvolvent 8

#define IDM_MODESELECT 201
#define IDM_MODELINE 202
#define IDM_MODECIRCLE 203
#define IDM_MODEELLIPSE 204
#define IDM_MODEARCELLIPSE 205
#define IDM_MODEHYPERBOLA 206
#define IDM_MODEPARABOLA 207
#define IDM_MODESPLINE 208
#define IDM_MODEEVEOLVENT 209
#define IDM_MODEDIMEN 210

#define tolNone 0
#define tolCopyPar 1
#define tolMove 2
#define tolRotate 3
#define tolMirror 4

#define tolDimen 11

#define tolKnife 21
#define tolRound 22
#define tolExtend 23
#define tolConflict 24
#define tolMeas 25

#define IDM_EDITCOPY 301
#define IDM_EDITCUT 302
#define IDM_EDITPASTE 303
#define IDM_EDITDELETE 304
#define IDM_EDITDELLASTPT 305
#define IDM_EDITCOPYPAR 306
#define IDM_EDITMOVE 307
#define IDM_EDITROTATE 308
#define IDM_EDITMIRROR 309
#define IDM_EDITLINESTYLE 310
#define IDM_EDITTOGGLESNAP 311
#define IDM_EDITPAPERUNITS 312
#define IDM_EDITUNDO 313
#define IDM_EDITREDO 314
#define IDM_EDITCONFIRM 315

#define IDM_VIEWFITALL 401
#define IDM_VIEWACTSIZE 402
#define IDM_VIEWGRIDPTS 403
#define IDM_VIEWGRIDLNS 404

//#define IDM_SNAPELEMENT 501
//#define IDM_SNAPENDPOINT 502
//#define IDM_SNAPMIDPOINT 503
//#define IDM_SNAPINTERSECT 504
//#define IDM_SNAPCTRLPOINT 505

#define IDM_TOOLSKNIFE 601
#define IDM_TOOLSBREAK 602
#define IDM_TOOLSROUND 603
#define IDM_TOOLSEXTEND 604
#define IDM_TOOLSCONFLICTS 605
#define IDM_TOOLSMEASURE 606
#define IDM_TOOLSCALE 607
#define IDM_TOOLSTAT 608
#define IDM_HELPCONTENT 901
