terminal/src/host/res.rc
2019-05-30 17:59:26 -07:00

134 lines
4 KiB
Plaintext

/****************************** Module Header ******************************\
* Module Name: res.rc
*
* Copyright (c) 1985-91, Microsoft Corporation
*
* Constants
*
* History:
* 08-21-91 Created.
\***************************************************************************/
#include <windows.h>
#include "resource.h"
#include "conhost.rcv"
#ifndef EXTERNAL_BUILD
#include <ntverp.h>
#include <common.ver>
#else
//////////
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 0, 0, 2019
PRODUCTVERSION 1, 0, 0, 2019
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
VALUE "FileVersion", "1.0.0-20190111-APPX dev/main-07d84ed8+dirty\0"
VALUE "InternalName", VER_INTERNALNAME_STR
VALUE "OriginalFilename", "OpenConsole.exe"
VALUE "ProductName", "Confans"
VALUE "ProductVersion", "1.0.0-20190111-APPX\0"
END
END
BLOCK "VarFileInfo"
BEGIN
/* The following line should only be modified for localized versions. */
/* It consists of any number of WORD,WORD pairs, with each pair */
/* describing a language,codepage combination supported by the file. */
/* */
/* For example, a file might have values "0x409,1252" indicating that it */
/* supports English language (0x409) in the Windows ANSI codepage (1252). */
VALUE "Translation", 0x409, 1252
END
END
//////////
#endif
IDI_APPICON ICON "..\\..\\..\\res\\console.ico"
#ifndef EXTERNAL_BUILD
// Fusion default manifest (needed since we are created w/ RtlCreateUserProcess)
IDR_SYSTEM_MANIFEST RT_MANIFEST MOVEABLE PURE "SystemDefault.man"
#endif
//
// Menus
//
ID_CONSOLE_SYSTEMMENU MENU PRELOAD
BEGIN
MENUITEM "Mar&k\tCtrl-M", ID_CONSOLE_MARK
MENUITEM "Cop&y\tEnter", ID_CONSOLE_COPY
MENUITEM "&Paste\tCtrl-V", ID_CONSOLE_PASTE
MENUITEM "&Select All\tCtrl-A", ID_CONSOLE_SELECTALL
MENUITEM "Scro&ll", ID_CONSOLE_SCROLL
MENUITEM "&Find...\tCtrl-F", ID_CONSOLE_FIND
END
//
// Strings
//
STRINGTABLE PRELOAD
BEGIN
/* errors */
/*
* Command line editing messages
*/
ID_CONSOLE_MSGCMDLINEF2, "Enter char to copy up to: "
ID_CONSOLE_MSGCMDLINEF4, "Enter char to delete up to: "
ID_CONSOLE_MSGCMDLINEF9, "Enter command number: "
ID_CONSOLE_MSGMARKMODE, "Mark "
ID_CONSOLE_MSGSELECTMODE, "Select "
ID_CONSOLE_MSGSCROLLMODE, "Scroll "
ID_CONSOLE_FMT_WINDOWTITLE, "%s%s"
/* WIP Audit destination name */
ID_CONSOLE_WIP_DESTINATIONNAME, "console application"
/* Menu items that replace the standard ones. These don't have the accelerators */
SC_CLOSE, "&Close"
/* just menu items */
ID_CONSOLE_CONTROL, "&Properties"
ID_CONSOLE_EDIT, "&Edit"
ID_CONSOLE_DEFAULTS, "&Defaults"
END
//
// Dialogs
//
ID_CONSOLE_FINDDLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 30, 73, 236, 62
STYLE WS_BORDER | WS_CAPTION | DS_MODALFRAME | WS_POPUP | DS_3DLOOK | WS_SYSMENU
CAPTION "Find"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Fi&nd what:", -1, 4, 8, 42, 8
EDITTEXT ID_CONSOLE_FINDSTR, 47, 7, 128, 12, WS_GROUP | WS_TABSTOP | ES_AUTOHSCROLL
AUTOCHECKBOX "Match &case", ID_CONSOLE_FINDCASE, 4, 42, 64, 12
GROUPBOX "Direction", -1, 107, 26, 68, 28, WS_GROUP
AUTORADIOBUTTON "&Up", ID_CONSOLE_FINDUP, 111, 38, 25, 12, WS_GROUP
AUTORADIOBUTTON "&Down", ID_CONSOLE_FINDDOWN, 138, 38, 35, 12
DEFPUSHBUTTON "&Find Next", IDOK, 182, 5, 50, 14, WS_GROUP
PUSHBUTTON "Cancel", IDCANCEL, 182, 23, 50, 14
END