Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
4.4 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1994.
  5. //
  6. // File: GW.rc
  7. //
  8. // Contents: resources for Galactic War
  9. //
  10. // History: 9-30-94 stevebl Created
  11. //
  12. //----------------------------------------------------------------------------
  13. #include "test.h"
  14. #include <oledlg.h>
  15. #define VER_PRODUCTVERSION_STR "3.50"
  16. #define VER_COMPANYNAME_STR "Microsoft Corporation"
  17. #define VER_PRODUCTNAME_STR "Microsoft(R) Windows NT(TM) Operating System"
  18. #define VER_LEGALCOPYRIGHT_YEARS "1981-1995"
  19. #define VER_LEGALCOPYRIGHT_STR "Copyright (C) Microsoft Corp. " VER_LEGALCOPYRIGHT_YEARS
  20. #define VER_PRODUCTNAME_STR "Microsoft(R) Windows NT(TM) Operating System"
  21. #define VER_PRODUCTVERSION 3,50,01,001
  22. VS_VERSION_INFO VERSIONINFO
  23. FILEVERSION VER_PRODUCTVERSION
  24. PRODUCTVERSION VER_PRODUCTVERSION
  25. FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  26. FILEFLAGS 0
  27. FILEOS VOS_NT_WINDOWS32
  28. FILETYPE VFT_APP
  29. FILESUBTYPE VFT2_UNKNOWN
  30. BEGIN
  31. BLOCK "StringFileInfo"
  32. BEGIN
  33. BLOCK "040904B0" /* LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP */
  34. BEGIN
  35. VALUE "CompanyName", VER_COMPANYNAME_STR
  36. VALUE "FileDescription", VER_FILEDESCRIPTION_STR
  37. VALUE "FileVersion", VER_PRODUCTVERSION
  38. VALUE "InternalName", VER_INTERNALNAME_STR
  39. VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
  40. VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
  41. VALUE "ProductName", VER_PRODUCTNAME_STR
  42. VALUE "ProductVersion", VER_PRODUCTVERSION_STR
  43. END
  44. END
  45. BLOCK "VarFileInfo"
  46. BEGIN
  47. VALUE "Translation", 0x0409, 0x04B0
  48. END
  49. END
  50. AppIcon ICON tole2ui.ico
  51. MAIN_WINDOW_CLASS_MENU MENU
  52. BEGIN
  53. POPUP "&Test"
  54. BEGIN
  55. MENUITEM "OleUI&InsertObject", IDM_INSERTOBJECT
  56. MENUITEM "OleUI&PasteSpecial", IDM_PASTESPECIAL
  57. MENUITEM "OleUI&EditLinks", IDM_EDITLINKS
  58. MENUITEM "OleUI&ChangeIcon", IDM_CHANGEICON
  59. MENUITEM "OleUICon&vert", IDM_CONVERT
  60. MENUITEM "OleUIC&anConvertOrActivateAs", IDM_CANCONVERT
  61. MENUITEM "OleUI&Busy", IDM_BUSY
  62. MENUITEM "OleUIC&hangeSource", IDM_CHANGESOURCE
  63. MENUITEM "OleUI&ObjectProperties", IDM_OBJECTPROPS
  64. POPUP "OleUIP&romptUser"
  65. BEGIN
  66. MENUITEM "IDD_&LINKSOURCEUNAVAILABLE" ,IDD_LINKSOURCEUNAVAILABLE
  67. MENUITEM "IDD_&CANNOTUPDATELINK" ,IDD_CANNOTUPDATELINK
  68. MENUITEM "IDD_&SERVERNOTREG" ,IDD_SERVERNOTREG
  69. MENUITEM "IDD_L&INKTYPECHANGED" ,IDD_LINKTYPECHANGED
  70. MENUITEM "IDD_S&ERVERNOTFOUND" ,IDD_SERVERNOTFOUND
  71. MENUITEM "IDD_OUTOFMEMORY" ,IDD_OUTOFMEMORY
  72. END
  73. MENUITEM "OleUI&UpdateLinks", IDM_UPDATELINKS
  74. MENUITEM SEPARATOR
  75. MENUITEM "E&xit",IDM_EXIT
  76. END
  77. POPUP "&Help"
  78. BEGIN
  79. MENUITEM "&About...", IDM_ABOUT
  80. END
  81. END
  82. #include "tole2ui.dlg"
  83. STRINGTABLE
  84. BEGIN
  85. IDS_ERROR "Error"
  86. IDS_OUTOFMEMORY "Out of memory."
  87. IDS_OLEINITFAILED "OLE could not be initialized."
  88. IDS_BADOLEVERSION "This program requires a more recent version of OLE."
  89. IDS_RETURN "Results of OLEDLG Call"
  90. IDS_INSERTOBJECT "OleUIInsertObject returned %u\nFlags = 0x%.8X\nszFile= %s\nSCODE = 0x%.8X"
  91. IDS_PASTESPECIAL "OleUIPasteSpecial returned %u\nFlags = 0x%.8X\nnSelectedIndex = %i\nfLink = %i, sizel = %i"
  92. IDS_NOCLIPBOARD "Couldn't get the clipboard object.\nOleGetClipboard returned 0x%.8X"
  93. IDS_EDITLINKS "OleUIEditLinks returned %u\nFlags = 0x%.8X"
  94. IDS_CHANGEICON "OleUIChangeIcon returned %u\nFlags = 0x%.8X"
  95. IDS_CONVERT "OleUIConvert returned %u\nFlags = 0x%.8X"
  96. IDS_CANCONVERT "OleUICanConvertOrActivateAs returned %u"
  97. IDS_BUSY "OleUIBusy returned %u\nFlags = 0x%.8X"
  98. IDS_CHANGESOURCE "OleUIChangeSource returned %u\nFlags = 0x%.8X"
  99. IDS_OBJECTPROPS "OleUIObjectProps returned %u\nFlags = 0x%.8X"
  100. IDS_PROMPTUSER "OleUIPromptUser returned %u"
  101. IDS_UPDATELINKS "OleUIUpdateLinks returned %u"
  102. END
  103. AppAccel ACCELERATORS
  104. BEGIN
  105. VK_F1, IDM_HELP, VIRTKEY
  106. END