home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mnth0107.zip / Anderson / source / edit.h < prev    next >
C/C++ Source or Header  |  1992-01-27  |  2KB  |  60 lines

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