home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / OWLINC.PAK / DOCVIEW.RC < prev    next >
Text File  |  1995-08-29  |  3KB  |  70 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // (C) Copyright 1993, 1994 by Borland International, All Rights Reserved
  4. //
  5. //   Resources to use with TDocManager
  6. //----------------------------------------------------------------------------
  7.  
  8. #include <owl/window.rh>  // CM_EXIT
  9. #include <owl/mdi.rh>
  10. #include <owl/docview.rh>
  11.  
  12. #if defined(RC_INVOKED)
  13.  
  14. #if !defined(NO_IDS_DOCVIEW) && !defined(__IDS_DOCVIEW)
  15. #define __IDS_DOCVIEW
  16. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  17. {
  18.   CM_FILENEW-1,       "Create, open, save and print documents"
  19.   CM_FILENEW,         "Create a new document"
  20.   CM_FILEOPEN,        "Open an existing document"
  21.   CM_FILESAVE,        "Save this document"
  22.   CM_FILESAVEAS,      "Save this document with a new name"
  23.   CM_FILEREVERT,      "Revert changes to last document save"
  24.   CM_FILECLOSE,       "Close this document"
  25.   CM_FILEPRINT,       "Print this document"
  26.   CM_EXIT,            "Quit the application, prompting to save documents"
  27.  
  28.   CM_VIEWCREATE,      "Create a new view for this document"
  29.  
  30.   CM_CASCADECHILDREN-1, "Arrange open windows"
  31.   CM_CASCADECHILDREN, "Cascade open windows"
  32.   CM_TILECHILDREN,    "Tile open windows"
  33.   CM_ARRANGEICONS,    "Arrange iconic windows along bottom"
  34.   CM_CLOSECHILDREN,   "Close all open windows"
  35.  
  36.   IDS_DOCMANAGERFILE, "&File"
  37.   IDS_DOCLIST,        "--Document Type--"
  38.   IDS_VIEWLIST,       "--View Type--"
  39.   IDS_UNTITLED,       "Document"
  40.   IDS_UNABLEOPEN,     "Unable to open document."
  41.   IDS_UNABLECLOSE,    "Unable to close document."
  42.   IDS_READERROR,      "Document read error."
  43.   IDS_WRITEERROR,     "Document write error."
  44.   IDS_DOCCHANGED,     "The document has been changed.\n\nDo you want to save the changes?"
  45.   IDS_NOTCHANGED,     "The document has not been changed."
  46.   IDS_NODOCMANAGER,   "Document Manager not present."
  47.   IDS_NOMEMORYFORVIEW,"Insufficient memory for view."
  48.   IDS_DUPLICATEDOC,   "Document already loaded."
  49. }
  50. #endif
  51. #undef NO_IDS_DOCVIEW
  52.  
  53. #if !defined(NO_IDM_DOCMANAGERFILE) && !defined(__IDM_DOCMANAGERFILE)
  54. #define __IDM_DOCMANAGERFILE
  55. IDM_DOCMANAGERFILE MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  56. {
  57.   MenuItem  "&New",            CM_FILENEW
  58.   MenuItem  "&Open...",        CM_FILEOPEN
  59.   MenuItem  "&Save",           CM_FILESAVE
  60.   MenuItem  "Save &As...",     CM_FILESAVEAS
  61.   MenuItem  "&Revert To Saved",CM_FILEREVERT
  62.   MenuItem  "&Close",          CM_FILECLOSE
  63.   MenuItem  SEPARATOR
  64.   MenuItem  "E&xit",           CM_EXIT
  65. }
  66. #endif
  67. #undef NO_IDM_DOCMANAGERFILE
  68.  
  69. #endif  // defined(RC_INVOKED)
  70.