home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / cppbeta / clsam3j / win.h__ / WIN.H
Encoding:
C/C++ Source or Header  |  1992-10-17  |  2.3 KB  |  77 lines

  1. /**************************************************************************/
  2. /* Sample Program for IBMCLASS - Symbolic definitions                     */
  3. /*                                                                        */
  4. /* Change History:                                                        */
  5. /* Rel Programmer        Stamp Date     Description                       */
  6. /* --- ----------------- ----- -------- --------------------------------- */
  7. /* 3.1 Philippe Gregoire PHG   10/09/92 Creation                          */
  8. /**************************************************************************/
  9.  
  10. // main window components ids
  11. #define WND_MAIN     0x1000
  12.  
  13. #define MY_CLIENT    0x1010
  14. #define ST_STATUS    0x1011
  15. #define LB_CUSTLIST  0x1012
  16.  
  17. #define BM_TBICON    0x1020
  18.  
  19. // client window components ids
  20. #define ST_NAME      0x1100
  21. #define EF_NAME      0x1101
  22. #define ST_NUMBER    0x1110
  23. #define EF_NUMBER    0x1111
  24. #define GB_ADDRESS   0x1120
  25. #define ST_ADDRESS   0x1130
  26. #define EF_ADDRESS   0x1131
  27. #define ST_STATE     0x1140
  28. #define EF_STATE     0x1141
  29. #define ST_ZIP       0x1150
  30. #define EF_ZIP       0x1151
  31. #define CB_MAILED    0x1160
  32.  
  33.  
  34. // string table IDs
  35. #define STR_NOSTATUS    0x1200
  36. #define STR_LOADCUST    0x1201
  37.  
  38. #define STR_ADDRESSLAB  GB_ADDRESS
  39. #define STR_STREETLAB   ST_ADDRESS
  40. #define STR_NAMELAB     ST_NAME
  41. #define STR_NUMBERLAB   ST_NUMBER
  42. #define STR_STATELAB    ST_STATE
  43. #define STR_ZIPLAB      ST_ZIP
  44.  
  45. // menu IDs
  46. #define MI_CUSTOMER     0x1500
  47. #define MI_NEXT         0x1501
  48. #define MI_PREVIOUS     0x1502
  49.  
  50. // Customer resource IDs
  51. #define MIN_CUST        1
  52. #define MAX_CUST        4
  53. #define STR_CUSTBASE    0x2000
  54. #define MULT_CUST       0x0010
  55. #define NAM_CUST        0
  56. #define NUM_CUST        1
  57. #define ADD_CUST        2
  58. #define BMP_CUST        NAM_CUST
  59.  
  60. #define STR_CUSTNAM1    0x2010
  61. #define STR_CUSTNUM1    0x2011
  62. #define STR_CUSTADD1    0x2012
  63. #define STR_CUSTNAM2    0x2020
  64. #define STR_CUSTNUM2    0x2021
  65. #define STR_CUSTADD2    0x2022
  66. #define STR_CUSTNAM3    0x2030
  67. #define STR_CUSTNUM3    0x2031
  68. #define STR_CUSTADD3    0x2032
  69. #define STR_CUSTNAM4    0x2040
  70. #define STR_CUSTNUM4    0x2041
  71. #define STR_CUSTADD4    0x2042
  72.  
  73. #define BM_CUSTBMP1     STR_CUSTNAM1
  74. #define BM_CUSTBMP2     STR_CUSTNAM2
  75. #define BM_CUSTBMP3     STR_CUSTNAM3
  76. #define BM_CUSTBMP4     STR_CUSTNAM4
  77.