home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: InfoMgt / InfoMgt.zip / SLPM.ZIP / SLPM.H < prev    next >
Text File  |  1990-01-13  |  2KB  |  83 lines

  1. /*
  2.    Slpm.h - OS/2 PM Shopping list header file
  3.          */
  4.  
  5. #define CREATE_CURSOR_MACRO WinCreateCursor(hwnd,\
  6. 0,cyClient-cyChar*(1+sCurrentLine),cxClient,cyChar,\
  7. CURSOR_SOLID,NULL)
  8.  
  9. #define MOVE_CURSOR_MACRO WinCreateCursor(hwnd,\
  10. 0,cyClient-cyChar*(1+sCurrentLine),0,0,\
  11. CURSOR_SETPOS,NULL)
  12.  
  13. #define CHAR_DELAY 1200   /* Character delay in milliseconds */
  14.  
  15. #define COUPON_POSITION   1
  16. #define CHECK_POSITION    3  /* was 4 */
  17. #define CHECK_SIZE        2
  18. #define TEXT_POSITION     7  /* was 8 */
  19.  
  20. #define ID_WINDOW       256
  21.  
  22. #define ID_MENU_FILE    260
  23. #define ID_OPEN         261
  24. #define ID_SAVE         262
  25. #define ID_PRINT        263
  26. #define ID_PRINT_ALL    264
  27. #define ID_EXITPROG     265
  28. #define ID_ABOUT        266
  29.  
  30. #define ID_MENU_ITEM    270
  31. #define ID_ADD          271
  32. #define ID_COPY         272
  33. #define ID_DELETE       273
  34.  
  35. #define ID_MENU_SORT    280
  36. #define ID_SORT_NAME    281
  37. #define ID_SORT_STORE   282
  38.  
  39. #define ID_MENU_EXIT    290
  40. #define ID_RESUME       291
  41.  
  42. #define ID_TOGGLE_SELECT 300
  43. #define ID_SELECT_COUPON 301
  44.  
  45. #define IDB_SLPMCHK     310
  46. #define IDB_SLPMCPN     311
  47.  
  48. #define IDD_ADDCOPY     320
  49. #define IDD_LOCATION    321
  50. #define IDD_ITEMNAME    322
  51.  
  52. #define IDS_HELPSUMMARY 330
  53.  
  54. #define WM_USER_REBUILD WM_USER+1
  55.  
  56. #define NOT_SELECTED   '\0'
  57.  
  58. #define COUPON          0x80
  59. #define PLACE_HOLDER    0X40
  60.  
  61. #define ID_NULL         9999
  62.  
  63. typedef  struct _SLPMstores  {     /* the store file */
  64.          CHAR cStore ;  /* the store id */
  65.          CHAR szStoreName[40]; /* the store name */
  66.                   }  ;
  67.  
  68. typedef struct _SLPMstores SLPMstores ;
  69.  
  70. typedef  SLPMstores *PSLPMSTORES ;
  71.  
  72. typedef  struct _SLPMslist {
  73.          CHAR cStore;    /* the store id */
  74.          CHAR szAisle[3]; /* aisle within the store */
  75.          UCHAR cSelected;   /* blank if not selected */
  76.          CHAR szDescription[72]; /* description of item */
  77.                  } ;
  78.  
  79. typedef struct _SLPMslist SLPMslist ;
  80.  
  81. typedef  SLPMslist FAR *PSLPMSLIST ;
  82.  
  83.