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

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1993 by Borland International
  3. //   include\owl\docview.rc
  4. //   Resources to use with TDocManager
  5. //----------------------------------------------------------------------------
  6.  
  7. #include <owl\window.rh> /* CM_EXIT */
  8. #include <owl\mdi.rh>
  9.  
  10. //
  11. // Commands
  12. //
  13. #define CM_FILENEW          24331
  14. #define CM_FILEOPEN         24332
  15. #define CM_FILESAVE         24333
  16. #define CM_FILESAVEAS       24334
  17. #define CM_FILEREVERT       24335
  18.  
  19. #define CM_FILEPRINT        24337
  20. #define CM_FILEPRINTERSETUP 24338
  21.  
  22. #define CM_FILECLOSE        24339
  23.  
  24. #define CM_VIEWCREATE       24341
  25.  
  26. //
  27. // String IDs
  28. //
  29. #define IDS_DOCMANAGERFILE  32500
  30. #define IDS_DOCLIST         32501
  31. #define IDS_VIEWLIST        32502
  32. #define IDS_UNTITLED        32503
  33. #define IDS_UNABLEOPEN      32504
  34. #define IDS_UNABLECLOSE     32505
  35. #define IDS_READERROR       32506
  36. #define IDS_WRITEERROR      32507
  37. #define IDS_DOCCHANGED      32508
  38. #define IDS_NOTCHANGED      32509
  39. #define IDS_NODOCMANAGER    32510
  40. #define IDS_NOMEMORYFORVIEW 32511
  41. #define IDS_DUPLICATEDOC    32512
  42.  
  43. //
  44. // Menu ID
  45. //
  46. #define IDM_DOCMANAGERFILE   4401
  47.  
  48. #if defined(RC_INVOKED)
  49.  
  50. #if !defined(NO_IDS_DOCVIEW) && !defined(__IDS_DOCVIEW)
  51. #define __IDS_DOCVIEW
  52. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  53. BEGIN
  54.   CM_FILENEW,    "Creates a new document"
  55.   CM_FILEOPEN,   "Opens an existing document"
  56.   CM_FILESAVE,   "Saves this document"
  57.   CM_FILESAVEAS, "Saves this document with a new name"
  58.   CM_FILEREVERT, "Reverts changes to last document save"
  59.   CM_FILECLOSE,  "Closes this document"
  60.   CM_FILEPRINT,  "Prints this document"
  61.   CM_EXIT,       "Quits the application, prompts to save documents"
  62.  
  63.   CM_VIEWCREATE, "Create a new view for this document"
  64.  
  65.   CM_CASCADECHILDREN, "Cascades open windows"
  66.   CM_TILECHILDREN,    "Tiles open windows"
  67.   CM_ARRANGEICONS,    "Arranges iconic windows along bottom"
  68.   CM_CLOSECHILDREN,   "Closes all open windows"
  69.  
  70.   IDS_DOCMANAGERFILE, "&File"
  71.   IDS_DOCLIST,        "--Document Type--"
  72.   IDS_VIEWLIST,       "--View Type--"
  73.   IDS_UNTITLED,       "(Untitled)"
  74.   IDS_UNABLEOPEN,     "Unable to open document."
  75.   IDS_UNABLECLOSE,    "Unable to close document."
  76.   IDS_READERROR,      "Document read error."
  77.   IDS_WRITEERROR,     "Document write error."
  78.   IDS_DOCCHANGED,     "The document has been changed.\n\nDo you want to save the changes?"
  79.   IDS_NOTCHANGED,     "The document has not been changed."
  80.   IDS_NODOCMANAGER,   "Document Manager not present."
  81.   IDS_NOMEMORYFORVIEW,"Insufficient memory for view."
  82.   IDS_DUPLICATEDOC,   "Document already loaded."
  83.  
  84. END
  85. #endif
  86. #undef NO_IDS_DOCVIEW
  87.  
  88. #if !defined(NO_IDM_DOCMANAGERFILE) && !defined(__IDM_DOCMANAGERFILE)
  89. #define __IDM_DOCMANAGERFILE
  90. IDM_DOCMANAGERFILE MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  91. BEGIN
  92.   MenuItem  "&New",            CM_FILENEW
  93.   MenuItem  "&Open...",        CM_FILEOPEN
  94.   MenuItem  "&Save",           CM_FILESAVE
  95.   MenuItem  "Save &As...",     CM_FILESAVEAS
  96.   MenuItem  "&Revert To Saved",CM_FILEREVERT
  97.   MenuItem  "&Close",          CM_FILECLOSE
  98.   MenuItem  SEPARATOR
  99.   MenuItem  "E&xit",           CM_EXIT
  100. END
  101. #endif
  102. #undef NO_IDM_DOCMANAGERFILE
  103.  
  104. #endif  // defined(RC_INVOKED)
  105.