home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 19.ddi / OWLINC.PAK / EDITFILE.RC < prev    next >
Encoding:
Text File  |  1993-12-02  |  2.2 KB  |  72 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1992, 1993 by Borland International
  3. //   include\owl\editfile.rc
  4. //   Resources to use with TEditFile.
  5. //----------------------------------------------------------------------------
  6.  
  7. #include <owl\editfile.rh>
  8.  
  9. #if defined(RC_INVOKED)
  10.  
  11. #if !defined(NO_IDM_EDITFILE) && !defined(__IDM_EDITFILE)
  12. #define __IDM_EDITFILE
  13. IDM_EDITFILE MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  14. BEGIN
  15.   POPUP "&File"
  16.   BEGIN
  17.     MenuItem  "&New", CM_FILENEW
  18.     MenuItem  "&Open...", CM_FILEOPEN
  19.     MenuItem  "&Save", CM_FILESAVE
  20.     MenuItem  "Save &As...", CM_FILESAVEAS
  21.     MenuItem  SEPARATOR
  22.     MenuItem  "E&xit", CM_EXIT
  23.   END
  24.   POPUP "&Edit"
  25.   BEGIN
  26.     MenuItem  "&Undo\aAlt+BkSp", CM_EDITUNDO
  27.     MenuItem  SEPARATOR
  28.     MenuItem  "&Cut\aShift+Del", CM_EDITCUT
  29.     MenuItem  "C&opy\aCtrl+Ins", CM_EDITCOPY
  30.     MenuItem  "&Paste\aShift+Ins", CM_EDITPASTE
  31.     MenuItem  "&Delete\aDel", CM_EDITDELETE
  32.     MenuItem  "C&lear All\aCtrl+Del", CM_EDITCLEAR
  33.   END
  34.   POPUP "&Search"
  35.   BEGIN
  36.     MenuItem  "&Find...", CM_EDITFIND
  37.     MenuItem  "&Replace...", CM_EDITREPLACE
  38.     MenuItem  "&Next\aF3", CM_EDITFINDNEXT
  39.   END
  40. END
  41. #endif
  42. #undef NO_IDM_EDITFILE
  43.  
  44. #if !defined(NO_IDA_EDITFILE) && !defined(__IDA_EDITFILE)
  45. #define __IDA_EDITFILE
  46. IDA_EDITFILE ACCELERATORS
  47. BEGIN
  48.   VK_DELETE, CM_EDITCUT, VIRTKEY, SHIFT
  49.   VK_INSERT, CM_EDITCOPY, VIRTKEY, CONTROL
  50.   VK_INSERT, CM_EDITPASTE, VIRTKEY, SHIFT
  51.   VK_DELETE, CM_EDITCLEAR, VIRTKEY, CONTROL
  52.   VK_BACK,   CM_EDITUNDO, VIRTKEY, ALT
  53.   VK_F3,     CM_EDITFINDNEXT, VIRTKEY
  54. END
  55. #endif
  56. #undef NO_IDA_EDITFILE
  57.  
  58. #if !defined(NO_IDS_EDITFILE) && !defined(__IDS_EDITFILE)
  59. #define __IDS_EDITFILE
  60. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  61. BEGIN
  62.   IDS_UNTITLEDFILE, "(Untitled)"
  63.   IDS_UNABLEREAD, "Unable to read file %s from disk."
  64.   IDS_UNABLEWRITE, "Unable to write file %s to disk."
  65.   IDS_FILECHANGED, "The text in the %s file has changed.\n\nDo you want to save the changes?"
  66.   IDS_FILEFILTER, "Text files (*.TXT)|*.TXT|AllFiles (*.*)|*.*|"
  67. END
  68. #endif
  69. #undef NO_IDS_EDITFILE
  70.  
  71. #endif  // defined(RC_INVOKED)
  72.