home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / ed32eng1.zip / source / edit.h < prev    next >
C/C++ Source or Header  |  1994-09-26  |  2KB  |  66 lines

  1. #include <os2.h>
  2.  
  3. /* What is your language? Select one of this or translate. */
  4. /* #define English */
  5. #define Deutsch
  6.  
  7. /* resource types */
  8. #define ID_EDIT             10
  9.  
  10. #define IDM_FILE           100
  11. #define IDM_NEW            101
  12. #define IDM_OPEN           102
  13. #define IDM_SAVE           103
  14. #define IDM_SAVEAS         104
  15. #define IDM_EXIT           105
  16.  
  17. #define IDM_EDIT           200
  18. #define IDM_UNDO           201
  19. #define IDM_CUT            202
  20. #define IDM_COPY           203
  21. #define IDM_PASTE          204
  22. #define IDM_DELETE         205
  23. #define IDM_FIND           206
  24. #define IDM_FINDAGAIN      207
  25. #define IDM_REPLACE        208
  26. #define IDM_GO             209
  27.  
  28. #define IDM_HELP           300
  29. #define IDM_HELPFORHELP    301
  30. #define IDM_EXTENDEDHELP   302
  31. #define IDM_KEYSHELP       303
  32. #define IDM_HELPINDEX      304
  33. #define IDM_ABOUT          305
  34. #define IDH_KEYSHELP       310
  35.  
  36. #define IDD_ABOUT          400
  37.  
  38. #define IDD_OPEN           500
  39. #define DID_PATH           501
  40. #define DID_DIRLIST        502
  41. #define DID_FILELIST       503
  42. #define DID_FILEEDIT       504
  43.  
  44. #define IDD_SAVEAS         600
  45.  
  46. #define IDD_FIND           700
  47. #define DID_FINDTEXT       701
  48.  
  49. #define IDD_REPLACE        800
  50. #define DID_OLDTEXT        801
  51. #define DID_NEWTEXT        802
  52. #define DID_DOREPLACE      803
  53. #define DID_REPLACEALL     804
  54. #define DID_REPLACEMSG     805
  55.  
  56. #define IDD_GOLINE         900
  57. #define DID_LINENBR        901
  58.  
  59.  
  60. /* global variables -- program scope */
  61. extern char szFileName[80];   /* current filename */
  62. extern char szFind[60];   /* target string for search */
  63. extern char szReplace[60];   /* replacement for search/replace */
  64. extern char szLine[20];   /* line number to go to */
  65.  
  66.