windows-nt/Source/XPSP1/NT/windows/feime/chnuconv/chnuconv.rc

261 lines
8.8 KiB
Plaintext
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*************************************************
* chnuconv.rc *
* *
* Copyright (C) 1992-1999 Microsoft Inc. *
* *
*************************************************/
//Microsoft App Studio generated resource script.
//
#include "resource.h"
/////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include <windows.h>
#include "chnuconv.h"
#include <commctrl.h>
IDI_CHNUCONV ICON chnuconv.ico
//////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_CHNUCONV MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Open", IDM_FILE_OPEN
MENUITEM "&Save As", IDM_FILE_SAVEAS, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Exit", IDM_FILE_EXIT
END
POPUP "&Help"
BEGIN
MENUITEM "&Content", IDM_HELP_CONTENT
MENUITEM "&About...", IDM_HELP_ABOUT
END
END
//////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDA_CHNUCONV ACCELERATORS MOVEABLE PURE
BEGIN
VK_INSERT, IDC_PASTEORCOPY, VIRTKEY,CONTROL
"^C", IDC_PASTEORCOPY, ASCII
VK_INSERT, IDC_PASTEORCOPY, VIRTKEY,SHIFT
"^V", IDC_PASTEORCOPY, ASCII
VK_F3, IDC_PUSH_CONVERT, VIRTKEY
VK_F1, IDM_HELP_CONTENT, VIRTKEY
END
//////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_CHNUCONV DIALOG 0, 0, 275, 220
STYLE WS_POPUP | WS_MINIMIZEBOX | DS_3DLOOK | WS_CAPTION | WS_SYSMENU
// This dialog intentionally does not have the WS_VISIBLE style
CAPTION "Chinese Code Converter"
FONT 8, "MS Shell Dlg"
CLASS "Converter"
MENU IDM_CHNUCONV
BEGIN
CONTROL "",IDC_MAIN_TAB,WC_TABCONTROL ,TCS_TABS |
TCS_FOCUSONBUTTONDOWN | WS_TABSTOP, 10,5,255,190
PUSHBUTTON "&Convert Now", IDC_PUSH_CONVERT, 105,200,50,14,WS_DISABLED
DEFPUSHBUTTON "OK", IDOK, 160,200,50,14
PUSHBUTTON "&Help", IDC_PUSH_HELP, 215,200,50,14
END
IDD_SOURCE_TAB DIALOG 0, 0, 0, 0
STYLE WS_CHILD | NOT WS_BORDER | DS_CONTROL
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "File:",IDC_NAME,17,24,20,12
EDITTEXT IDC_NAMETEXT,40,22,135,12,ES_AUTOHSCROLL
LTEXT "Size:",IDC_EDIT_SIZE,17,44,20,12
LTEXT "",IDC_SIZETEXT,45,44,80,12
PUSHBUTTON "",IDC_OPENORSAVEAS,188,26,52,14
PUSHBUTTON "&View",IDC_VIEW,188,49,52,14,WS_DISABLED
PUSHBUTTON "Clea&r",IDC_CLEAR,188,95,52,14, WS_DISABLED
PUSHBUTTON "",IDC_PASTEORCOPY,188,72,52,14
GROUPBOX "Code Page",IDC_STATIC,17,60,160,65
CONTROL "",IDC_RBUNICODE1,"Button",BS_AUTORADIOBUTTON|WS_DISABLED,
25,73,46,12
CONTROL "",IDC_RBGB,"Button",BS_AUTORADIOBUTTON|WS_DISABLED,
25,89,46,12
CONTROL "",IDC_RBBIG5,"Button",BS_AUTORADIOBUTTON|WS_DISABLED,
25,105,46,12
CONTROL "",IDC_RBCNS,"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE
|WS_DISABLED, 75,73,50,12
CONTROL "",IDC_RBTCA,"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE
|WS_DISABLED, 75,89,50,12
CONTROL "",IDC_RBETEN,"Button",BS_AUTORADIOBUTTON| NOT WS_VISIBLE
|WS_DISABLED, 75,105,50,12
CONTROL "",IDC_RBIBM,"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE
|WS_DISABLED, 125,73,50,12
CONTROL "",IDC_RBTELE,"Button",BS_AUTORADIOBUTTON| NOT WS_VISIBLE
|WS_DISABLED, 125,89,50,12
CONTROL "",IDC_RBWANG,"Button",BS_AUTORADIOBUTTON| NOT WS_VISIBLE
|WS_DISABLED, 125,105,50,12
CONTROL "&Swap High-Low Byte Order",IDC_SWAPHIGHLOW,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED ,17,141,122,13
END
IDD_OPTION_TAB DIALOG 0, 0, 0, 0
STYLE WS_CHILD | NOT WS_BORDER | DS_CONTROL
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "&Reset",IDC_RESET,190,45,50,14
GROUPBOX "Simplified/Traditional Chinese Conversion",IDC_STATIC1,
15,18,160,56
CONTROL "&Do not convert",IDC_NOSCTCMAP,"Button",BS_AUTORADIOBUTTON
| WS_GROUP, 25,30,118,12
CONTROL "From &Traditional to Simplified",IDC_TCSCMAP,"Button",
BS_AUTORADIOBUTTON,25,44,118,12
CONTROL "From &Simplified to Traditional",IDC_SCTCMAP,"Button",
BS_AUTORADIOBUTTON,25,58,118,12
GROUPBOX "Half-width/Full-width Character Conversion",IDC_STATIC2,
15,94,160,54
CONTROL "Do &not convert",IDC_NOHWFWMAP,"Button",BS_AUTORADIOBUTTON
| WS_GROUP, 25,108,118,12
CONTROL "From half-&width to full-width",IDC_HWFWMAP,"Button",
BS_AUTORADIOBUTTON,25,120,118,12
CONTROL "From &full-width to half-width",IDC_FWHWMAP,"Button",
BS_AUTORADIOBUTTON,25,132,118,12
END
IDD_SHOWTEXT DIALOG DISCARDABLE 0, 0, 270, 178
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "-",IDC_SHOWTEXT_NAME,55,4,200,8
LTEXT "-",IDC_SHOWTEXT_TYPE,55,12,200,8
LTEXT "Caution: Font char set may be different from text char set", IDC_SHOWTEXT_FONT,55,20,200,8
DEFPUSHBUTTON "OK",IDOK,10,10,35,14
EDITTEXT IDC_SHOWTEXT_EDIT,16,34,254,132, ES_READONLY | ES_MULTILINE
| ES_AUTOVSCROLL | WS_VSCROLL
END
#ifdef APSTUDIO_INVOKED
//////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""chtuconv.h""\r\n"
"#include ""install.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
/////////////////////////////////////////////////////////////////////////////////////
#endif // APSTUDIO_INVOKED
//////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_APPLICATION_NAME "Chinese Code Converter"
IDS_SOURCE_TAB "Source"
IDS_TARGET_TAB "Destination"
IDS_OPTION_TAB "Options"
IDS_FROMCLIPBOARD "<<Input From Clipboard>>"
IDS_NOTSAVEYET "<<Not Saved>>"
IDS_OPENSOURCE "Open Source"
IDS_BUT_OPEN "&Open"
IDS_SAVEAS "Save As"
IDS_BUT_SAVEAS "S&ave As"
IDS_OPENERROR "Failed to open file."
IDS_FILETOOBIG "File size exceeds 8 MB."
IDS_READERROR "Failed to read file."
IDS_WRITEERROR "Failed to write to file."
IDS_CREATEERROR "Failed to generate file."
IDS_NOTEXTCONVERT "No text to convert."
IDS_NOTEXTSAVE "No text to save."
IDS_STYPEUNKNOWN "Source type unknown.\r\n Please specify data type."
IDS_BYTEORDER "Byte order swap mark detected.\r\n Automatically swapping byte order."
IDS_NBYTES "%d Bytes"
IDS_VIEWSOURCE "View Source"
IDS_VIEWTARGET "View Destination"
IDS_BUT_FROMCLIPBOARD "&From Clipboard"
IDS_BUT_TOCLIPBOARD "T&o Clipboard"
IDS_ANSITEXT "Text Documents (*.txt)"
IDS_ALLFILES "All Files (*.*)"
IDS_STRUNICODE "Unicode"
IDS_STRINGGB "GB"
IDS_STRBIG5 "BIG5"
IDS_STRCNS "CNS11643"
IDS_STRTCA "TCA"
IDS_STRETEN "ETEN"
IDS_STRIBM "IBM PS/55"
IDS_STRTELE "TELEgraph"
IDS_STRWANG "WANG"
IDS_CTLUNICODE "&Unicode"
IDS_CTLGB "&GB"
IDS_CTLBIG5 "&BIG5"
IDS_CTLCNS "C&NS11643"
IDS_CTLTCA "&TCA"
IDS_CTLETEN "&ETEN"
IDS_CTLIBM "&IBM PS/55"
IDS_CTLTELE "TE&LEgraph"
IDS_CTLWANG "&WANG"
END
#include <ntverp.h>
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Windows Chinese Code Converter Application File"
#define VER_INTERNALNAME_STR "chnuconv"
#define VER_LEGALCOPYRIGHT_YEARS "1993-1996"
#define VER_ORIGINALFILENAME_STR "CHNUCONV.EXE"
#include "common.ver"