home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / picmas.zip / SAMPLE.H < prev    next >
Text File  |  1993-04-10  |  2KB  |  81 lines

  1. #define  ID_SAMPLE      100
  2. #define  ID_M_DIALOG    101
  3. #define  ID_M_ABOUT     102
  4. #define  ID_M_EXIT      103
  5.  
  6. #define  IDLG_EMPINFO   150
  7. #define  ID_S_NAME      151
  8. #define  ID_S_ADDR      152
  9. #define  ID_S_CITY      153
  10. #define  ID_S_STATE     154
  11. #define  ID_S_ZIP       155
  12. #define  ID_S_PHONE     156
  13. #define  ID_S_DRLIC     157
  14. #define  ID_S_DREXP     158
  15. #define  ID_S_START     159
  16. #define  ID_S_ZIP_PIC   160
  17. #define  ID_S_DL_PIC    161
  18. #define  ID_S_EXP_PIC   162
  19. #define  ID_S_PHONE_PIC 163
  20. #define  ID_S_ST_PIC    164
  21. #define  ID_S_START_PIC 165
  22. #define  ID_E_NAME      166
  23. #define  ID_E_ADDR      167
  24. #define  ID_E_CITY      168
  25. #define  ID_E_STATE     169
  26. #define  ID_E_ZIP       170 
  27. #define  ID_E_PHONE     171
  28. #define  ID_E_DRLIC     172
  29. #define  ID_E_DREXP     173
  30. #define  ID_E_START     174
  31. #define  ID_E_SOCIAL    175
  32.  
  33.  
  34. #define  IDLG_ABOUT     200
  35. #define  IDBMP_IMPACT   201
  36. #define  IDBMP_OS2LOGO  202
  37.  
  38.  
  39. #define CHAR_HEIGHT     22
  40. #define NUM_HEADINGS    6
  41. #define START_X         250L
  42. #define START_Y         50L
  43.  
  44. CHAR szHeading[NUM_HEADINGS][30] = {
  45.    "Drivers Lic. Exp",
  46.    "Drivers License",
  47.    "Social Security",
  48.    "Zip",
  49.    "Phone",
  50.    "Name"};
  51.  
  52.  
  53. CHAR szPictures[NUM_HEADINGS][31] = {
  54.    "99/99/9999",
  55.    "A9999999",
  56.    "9(3)-99-9999",
  57.    "99999-9999",
  58.    "^(999)999-9999",
  59.    "??????????????????????????????"};
  60.  
  61. ULONG usEFIds[NUM_HEADINGS] = {
  62.    ID_E_DREXP,
  63.    ID_E_DRLIC, 
  64.    ID_E_SOCIAL,
  65.    ID_E_ZIP,   
  66.    ID_E_PHONE,
  67.    ID_E_NAME}; 
  68.  
  69.  
  70.  
  71.  
  72. MRESULT EXPENTRY WndProc(HWND, UINT, MPARAM, MPARAM);
  73. MRESULT EXPENTRY AboutDlgProc(HWND, UINT, MPARAM, MPARAM);
  74. MRESULT EXPENTRY SampleDlgProc(HWND, UINT, MPARAM, MPARAM);
  75. VOID fnCreateEntrys(HWND);
  76. VOID fnDisplayText(HWND);
  77. VOID fnProcessCmd(HWND, UINT, MPARAM, MPARAM);
  78. LONG EXPENTRY fnRtCharStringAt(HPS,  POINTL, LONG, PCHAR);
  79. LONG EXPENTRY fnPixlen(HPS, PSZ);
  80.  
  81.