DFV.RC
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:5k
源码类别:

Windows编程

开发平台:

Visual C++

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