mirror of https://github.com/tongzx/nt5src
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
116 lines
4.4 KiB
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 1994.
|
|
//
|
|
// File: GW.rc
|
|
//
|
|
// Contents: resources for Galactic War
|
|
//
|
|
// History: 9-30-94 stevebl Created
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#include "test.h"
|
|
#include <oledlg.h>
|
|
|
|
#define VER_PRODUCTVERSION_STR "3.50"
|
|
#define VER_COMPANYNAME_STR "Microsoft Corporation"
|
|
#define VER_PRODUCTNAME_STR "Microsoft(R) Windows NT(TM) Operating System"
|
|
#define VER_LEGALCOPYRIGHT_YEARS "1981-1995"
|
|
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) Microsoft Corp. " VER_LEGALCOPYRIGHT_YEARS
|
|
#define VER_PRODUCTNAME_STR "Microsoft(R) Windows NT(TM) Operating System"
|
|
#define VER_PRODUCTVERSION 3,50,01,001
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION VER_PRODUCTVERSION
|
|
PRODUCTVERSION VER_PRODUCTVERSION
|
|
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
|
FILEFLAGS 0
|
|
FILEOS VOS_NT_WINDOWS32
|
|
FILETYPE VFT_APP
|
|
FILESUBTYPE VFT2_UNKNOWN
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904B0" /* LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP */
|
|
BEGIN
|
|
VALUE "CompanyName", VER_COMPANYNAME_STR
|
|
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
|
|
VALUE "FileVersion", VER_PRODUCTVERSION
|
|
VALUE "InternalName", VER_INTERNALNAME_STR
|
|
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
|
|
VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
|
|
VALUE "ProductName", VER_PRODUCTNAME_STR
|
|
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
|
|
END
|
|
|
|
END
|
|
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x0409, 0x04B0
|
|
END
|
|
END
|
|
|
|
AppIcon ICON tole2ui.ico
|
|
|
|
MAIN_WINDOW_CLASS_MENU MENU
|
|
BEGIN
|
|
POPUP "&Test"
|
|
BEGIN
|
|
MENUITEM "OleUI&InsertObject", IDM_INSERTOBJECT
|
|
MENUITEM "OleUI&PasteSpecial", IDM_PASTESPECIAL
|
|
MENUITEM "OleUI&EditLinks", IDM_EDITLINKS
|
|
MENUITEM "OleUI&ChangeIcon", IDM_CHANGEICON
|
|
MENUITEM "OleUICon&vert", IDM_CONVERT
|
|
MENUITEM "OleUIC&anConvertOrActivateAs", IDM_CANCONVERT
|
|
MENUITEM "OleUI&Busy", IDM_BUSY
|
|
MENUITEM "OleUIC&hangeSource", IDM_CHANGESOURCE
|
|
MENUITEM "OleUI&ObjectProperties", IDM_OBJECTPROPS
|
|
POPUP "OleUIP&romptUser"
|
|
BEGIN
|
|
MENUITEM "IDD_&LINKSOURCEUNAVAILABLE" ,IDD_LINKSOURCEUNAVAILABLE
|
|
MENUITEM "IDD_&CANNOTUPDATELINK" ,IDD_CANNOTUPDATELINK
|
|
MENUITEM "IDD_&SERVERNOTREG" ,IDD_SERVERNOTREG
|
|
MENUITEM "IDD_L&INKTYPECHANGED" ,IDD_LINKTYPECHANGED
|
|
MENUITEM "IDD_S&ERVERNOTFOUND" ,IDD_SERVERNOTFOUND
|
|
MENUITEM "IDD_OUTOFMEMORY" ,IDD_OUTOFMEMORY
|
|
END
|
|
MENUITEM "OleUI&UpdateLinks", IDM_UPDATELINKS
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "E&xit",IDM_EXIT
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&About...", IDM_ABOUT
|
|
END
|
|
END
|
|
|
|
#include "tole2ui.dlg"
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_ERROR "Error"
|
|
IDS_OUTOFMEMORY "Out of memory."
|
|
IDS_OLEINITFAILED "OLE could not be initialized."
|
|
IDS_BADOLEVERSION "This program requires a more recent version of OLE."
|
|
IDS_RETURN "Results of OLEDLG Call"
|
|
IDS_INSERTOBJECT "OleUIInsertObject returned %u\nFlags = 0x%.8X\nszFile= %s\nSCODE = 0x%.8X"
|
|
IDS_PASTESPECIAL "OleUIPasteSpecial returned %u\nFlags = 0x%.8X\nnSelectedIndex = %i\nfLink = %i, sizel = %i"
|
|
IDS_NOCLIPBOARD "Couldn't get the clipboard object.\nOleGetClipboard returned 0x%.8X"
|
|
IDS_EDITLINKS "OleUIEditLinks returned %u\nFlags = 0x%.8X"
|
|
IDS_CHANGEICON "OleUIChangeIcon returned %u\nFlags = 0x%.8X"
|
|
IDS_CONVERT "OleUIConvert returned %u\nFlags = 0x%.8X"
|
|
IDS_CANCONVERT "OleUICanConvertOrActivateAs returned %u"
|
|
IDS_BUSY "OleUIBusy returned %u\nFlags = 0x%.8X"
|
|
IDS_CHANGESOURCE "OleUIChangeSource returned %u\nFlags = 0x%.8X"
|
|
IDS_OBJECTPROPS "OleUIObjectProps returned %u\nFlags = 0x%.8X"
|
|
IDS_PROMPTUSER "OleUIPromptUser returned %u"
|
|
IDS_UPDATELINKS "OleUIUpdateLinks returned %u"
|
|
END
|
|
|
|
AppAccel ACCELERATORS
|
|
BEGIN
|
|
VK_F1, IDM_HELP, VIRTKEY
|
|
END
|