// menu ids
#define IDD_NEWITEM	3000
#define MID_FILE        2000
#define MID_FILE_NEW    (MID_FILE +1)
#define MID_FILE_OPEN   (MID_FILE +2)
#define MID_FILE_SAVE   (MID_FILE +3)
#define MID_FILE_SAVEAS (MID_FILE +4)
#define MID_FILE_PRINT  (MID_FILE +5)
#define MID_FILE_EXIT	(MID_FILE +7)

// other window messages
#define WM_UPDATEFORMULA WM_USER
#define WM_CREATEEDIT    WM_USER+1
#define WM_REMOVEEDIT    WM_USER+2
#define WM_SETFORMULATXT WM_USER+3
#define WM_INCELLEDIT    WM_USER+4
#define WM_GETEDITVIEW   WM_USER+5

#define ID_APPNAME   1
#define ID_MAINMENU	1
#define ID_MAINICON	1
#define ID_MAINACCEL	1

#define IDD_PURCHASE_ORDER	1000
#define IDD_NEWITEM        3000
#define IDD_VIEWSHEET      4000
#define DID_INITIALS	(IDD_PURCHASE_ORDER+3)
#define DID_DESCRIPTIONS	(IDD_PURCHASE_ORDER+4)
#define DID_COST	(IDD_PURCHASE_ORDER+5)
#define DID_QUANTITY	(IDD_PURCHASE_ORDER+6)
#define DID_ITEMTOTAL	(IDD_PURCHASE_ORDER+7)
#define DID_SUBTOTAL	(IDD_PURCHASE_ORDER+8)
#define DID_SHIPPING	(IDD_PURCHASE_ORDER+9)
#define DID_TAX	(IDD_PURCHASE_ORDER+10)
#define DID_TOTAL	(IDD_PURCHASE_ORDER+11)
#define DID_COMMENTS	(IDD_PURCHASE_ORDER+12)
#define DID_FLAGS	(IDD_PURCHASE_ORDER+13)
#define DID_PONUM	(IDD_PURCHASE_ORDER +1)
#define DID_DATE	(IDD_PURCHASE_ORDER+2)
#define DID_TEST 9999
#define DID_SHEETVIEW    (IDD_VIEWSHEET+1)
#define DID_INCELL       (IDD_VIEWSHEET+2)
#define DID_FORMULA      (IDD_VIEWSHEET+3)
#define DID_DELETEITEM (IDD_PURCHASE_ORDER+14)
#define DID_NEWITEM (IDD_PURCHASE_ORDER+15)
#define DID_TAXRATE     (IDD_PURCHASE_ORDER+16)

