home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / activedocument / dfv / dfv.rc < prev    next >
Text File  |  1995-11-08  |  5KB  |  131 lines

  1. //+---------------------------------------------------------------------------
  2. //
  3. //  Microsoft Windows
  4. //  Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. //  File:       DFV.rc
  7. //
  8. //  Contents:   resources for Stereo Shop
  9. //
  10. //  History:    6-08-94   stevebl   Created
  11. //
  12. //----------------------------------------------------------------------------
  13.  
  14. #include "dfv.h"
  15.  
  16. #define VER_PRODUCTVERSION_STR      "3.50"
  17. #define VER_COMPANYNAME_STR         "Microsoft Corporation"
  18. #define VER_PRODUCTNAME_STR        "Microsoft(R) Windows NT(TM) Operating System"
  19. #define VER_LEGALCOPYRIGHT_YEARS    "1981-1995"
  20. #define VER_LEGALCOPYRIGHT_STR "Copyright (C) Microsoft Corp. " VER_LEGALCOPYRIGHT_YEARS
  21. #define VER_PRODUCTNAME_STR "Microsoft(R) Windows NT(TM) Operating System"
  22. #define VER_PRODUCTVERSION 3,50,01,001
  23.  
  24. VS_VERSION_INFO VERSIONINFO
  25. FILEVERSION    VER_PRODUCTVERSION
  26. PRODUCTVERSION VER_PRODUCTVERSION
  27. FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  28. FILEFLAGS      0
  29. FILEOS         VOS_NT_WINDOWS32
  30. FILETYPE       VFT_APP
  31. FILESUBTYPE    VFT2_UNKNOWN
  32. BEGIN
  33.     BLOCK "StringFileInfo"
  34.     BEGIN
  35.         BLOCK "040904B0"   /* LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP */
  36.         BEGIN
  37.             VALUE "CompanyName",     VER_COMPANYNAME_STR
  38.             VALUE "FileDescription", VER_FILEDESCRIPTION_STR
  39.             VALUE "FileVersion",     VER_PRODUCTVERSION
  40.             VALUE "InternalName",    VER_INTERNALNAME_STR
  41.             VALUE "LegalCopyright",  VER_LEGALCOPYRIGHT_STR
  42.             VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
  43.             VALUE "ProductName",     VER_PRODUCTNAME_STR
  44.             VALUE "ProductVersion",  VER_PRODUCTVERSION_STR
  45.         END
  46.     BLOCK "041104B0"   /* LANG_JAPANESE, Unicode CP */
  47.         BEGIN
  48.             VALUE "CompanyName",     VER_COMPANYNAME_STR
  49.             VALUE "FileDescription", VER_FILEDESCRIPTION_STR
  50.             VALUE "FileVersion",     VER_PRODUCTVERSION
  51.             VALUE "InternalName",    VER_INTERNALNAME_STR
  52.             VALUE "LegalCopyright",  VER_LEGALCOPYRIGHT_STR
  53.             VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
  54.             VALUE "ProductName",     VER_PRODUCTNAME_STR
  55.             VALUE "ProductVersion",  VER_PRODUCTVERSION_STR
  56.         END
  57.  
  58.     END
  59.  
  60.     BLOCK "VarFileInfo"
  61.     BEGIN
  62.         VALUE "Translation", 0x0409, 0x04B0, 0x0411, 0x04B0
  63.     END
  64. END
  65.  
  66. AppIcon ICON DFV.ico
  67. StreamIcon ICON stream.ico
  68.  
  69. BMP_STORAGE     BITMAP  DISCARDABLE "FOLDER.BMP"
  70. BMP_STREAM      BITMAP  DISCARDABLE "DOCUMENT.BMP"
  71.  
  72. MAIN_WINDOW_CLASS_MENU MENU
  73. BEGIN
  74.     POPUP "&File"
  75.     BEGIN
  76.         MENUITEM "&Open DocFile...", IDM_OPEN
  77.         MENUITEM "&Close", IDM_CLOSE
  78.         MENUITEM SEPARATOR
  79.         MENUITEM "E&xit",IDM_EXIT
  80.     END
  81.     POPUP "&Tree"
  82.     BEGIN
  83.         MENUITEM "E&xpand  \a+", IDM_EXPAND
  84.         MENUITEM "Expand &Branch  \a*", IDM_EXPANDBRANCH
  85.         MENUITEM "Expand &All  \aCtrl+*", IDM_EXPANDALL
  86.         MENUITEM "&Collapse Branch  \a-", IDM_COLLAPSE
  87.         MENUITEM "C&ollapse All \aCtrl+-", IDM_COLLAPSEALL
  88.     END
  89.     POPUP "&Help"
  90.     BEGIN
  91.         MENUITEM "&Index...  \aF1", IDM_HELP
  92.         MENUITEM SEPARATOR
  93.         MENUITEM "&About DocFile Viewer...", IDM_ABOUT
  94.     END
  95. END
  96.  
  97. #include "DFV.dlg"
  98.  
  99. STRINGTABLE
  100. BEGIN
  101.     IDS_ERROR                   "Error"
  102.     IDS_NOHELPFILE              "Can't find help file."
  103.     IDS_OLEINCOMPATIBLE         "This program is incompatible with the version of OLE installed on this system.  This program requires at least OLE2 version %i - %i"
  104.     IDS_OLEINITFAILED           "OLE initizlization failed."
  105.     IDS_ENUMSTATSTGFAILED       "IStorage::EnumSTATSTG failed with HRESULT: 0x%08X"
  106.     IDS_OPENSTORAGEFAILED       "IStorage::OpenStorage failed with HRESULT: 0x%08X"
  107.     IDS_OPENSTREAMFAILED        "IStorage::OpenStream failed with HRESULT: 0x%08X"
  108.     IDS_ENUMELEMENTSFAILED      "IStorage::EnumElements failed with HRESULT: 0x%08X"
  109.     IDS_INSERTSTRINGFAILED      "Tree is too large.  Collapse some branches."
  110.     IDS_LOADBITMAPSFAILED       "Couldn't load folder and document bitmaps."
  111.     IDS_STGOPENSTORAGEFAILED    "Unable to open %ws as a DocFile."
  112.     IDS_STMSTATFAILED           "IStream::Stat failed with HRESULT: 0x%08X"
  113.     IDS_STMSEEKFAILED           "IStream::Seek failed with HRESULT: 0x%08X"
  114.     IDS_STMREADFAILED           "IStream::Read failed with HRESULT: 0x%08X"
  115.     IDS_STMTITLETEXT            "Stream:"
  116.     IDS_OUTOFMEMORY             "DFView ran out of memory.  Free up more resources."
  117. END
  118.  
  119. AppAccel ACCELERATORS
  120. BEGIN
  121.     VK_F1,          IDM_HELP,           VIRTKEY
  122.     VK_ADD,         IDM_EXPAND,         VIRTKEY
  123.     VK_SUBTRACT,    IDM_COLLAPSE,       VIRTKEY
  124.     VK_SUBTRACT,    IDM_COLLAPSEALL,    CONTROL,    VIRTKEY
  125.     VK_MULTIPLY,    IDM_EXPANDALL,      CONTROL,    VIRTKEY
  126.     VK_MULTIPLY,    IDM_EXPANDBRANCH,   VIRTKEY
  127.     "+",            IDM_EXPAND
  128.     "-",            IDM_COLLAPSE
  129.     "*",            IDM_EXPANDBRANCH
  130. END
  131.