home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pentlk11.zip / RECODISP.H < prev    next >
Text File  |  1994-01-13  |  3KB  |  84 lines

  1. /*************************************************************************
  2. *
  3. *  File Name   : RECODISP.H
  4. *
  5. *  Description : Example PENPM Aware Application
  6. *
  7. *  Copyright (C) 1992 IBM Corporation
  8. *
  9. *      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  10. *      sample code created by IBM Corporation. This sample code is not
  11. *      part of any standard or IBM product and is provided to you solely
  12. *      for  the purpose of assisting you in the development of your
  13. *      applications.  The code is provided "AS IS", without
  14. *      warranty of any kind.  IBM shall not be liable for any damages
  15. *      arising out of your use of the sample code, even if they have been
  16. *      advised of the possibility of such damages.                                                    *
  17. *
  18. ************************************************************************/
  19.  
  20. #define ID_CMD         1
  21. #define CMD_STR        "RecoDisp"
  22.  
  23. #define STR_1          11
  24. #define STR_2          12
  25. #define STR_3          13
  26. #define STR_4          14
  27. #define STR_5          15
  28. #define STR_6          16
  29. #define STR_7          17
  30. #define STR_8          18
  31. #define STR_9          19
  32.  
  33. #define LEN_CMD        128
  34. #define LEN_ARG        260
  35. #define LEN_PCMD       20
  36. #define STR_LEN        80
  37.  
  38. #define ID_MAIN        1000
  39. #define ID_CLEAR       2000
  40. #define ID_EXIT        2001
  41. #define RECO_MSG       WM_USER + 1
  42. #define WM_RECO_INFO   WM_USER + 2
  43.  
  44. HAB      habMain;
  45.  
  46. int              main(VOID);
  47. MRESULT EXPENTRY ClientWndProc(HWND, ULONG, MPARAM, MPARAM);
  48. VOID             GetString(HWND, ULONG, BOOL, APIRET, BOOL);
  49.  
  50. CHAR   achVEID[][23] = {
  51.      "VE_TOGGLESELECTION    ",
  52.      "VE_HELP               ",
  53.      "VE_SPACE              ",
  54.      "VE_EDIT               ",
  55.      "VE_DELETE             ",
  56.      "VE_PASTE              ",
  57.      "VE_SCRATCHOUT         ",
  58.      "VE_DELETECHAR         ",
  59.      "VE_INSERT             ",
  60.      "VE_CUT                ",
  61.      "VE_COPY               ",
  62.      "VE_ASSIGNMENTS        ",
  63.      "VE_UNDO               ",
  64.      "VE_ENTER              ",
  65.      "VE_TAB                ",
  66.      "VE_SCROLLUP           ",
  67.      "VE_SCROLLDOWN         ",
  68.      "VE_SCROLLLEFT         ",
  69.      "VE_SCROLLRIGHT        ",
  70.      "VE_SCROLLUPMORE       ",
  71.      "VE_SCROLLDOWNMORE     ",
  72.      "VE_SCROLLLEFTMORE     ",
  73.      "VE_SCROLLRIGHTMORE    ",
  74.      "VE_SCROLLUPMAX        ",
  75.      "VE_SCROLLDOWNMAX      ",
  76.      "VE_SCROLLLEFTMAX      ",
  77.      "VE_SCROLLRIGHTMAX     ",
  78.      "VE_BACKSPACE          ",
  79.      "VE_EXTENDSELECTION    ",
  80.      "VE_CONTEXTMENU        ",
  81.      "VE_BOUNDSELECTIONLEFT ",
  82.      "VE_BOUNDSELECTIONRIGHT"   };
  83.  
  84.