456 lines
25 KiB
Plaintext
456 lines
25 KiB
Plaintext
// Microsoft Visual C++ generated resource script.
|
||
//
|
||
#include "resource.h"
|
||
|
||
#define APSTUDIO_READONLY_SYMBOLS
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Generated from the TEXTINCLUDE 2 resource.
|
||
//
|
||
#ifndef APSTUDIO_INVOKED
|
||
#include "targetver.h"
|
||
#endif
|
||
#include "afxres.h"
|
||
#include "verrsrc.h"
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
#undef APSTUDIO_READONLY_SYMBOLS
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
// 中文(简体,中国) resources
|
||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
|
||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Icon
|
||
//
|
||
|
||
// Icon with lowest ID value placed first to ensure application icon
|
||
// remains consistent on all systems.
|
||
IDR_MAINFRAME ICON "res\\MCA.ico"
|
||
|
||
IDR_MCATYPE ICON "res\\MCADoc.ico"
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Bitmap
|
||
//
|
||
|
||
IDR_MAINFRAME BITMAP "res\\Toolbar.bmp"
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Toolbar
|
||
//
|
||
|
||
IDR_MAINFRAME TOOLBAR 50, 50
|
||
BEGIN
|
||
BUTTON ID_FILE_OPEN
|
||
BUTTON ID_FILE_SAVE
|
||
SEPARATOR
|
||
BUTTON ID_BUTTON32809
|
||
BUTTON ID_BUTTON32810
|
||
SEPARATOR
|
||
BUTTON ID_BUTTON32811
|
||
SEPARATOR
|
||
BUTTON ID_BUTTON32808
|
||
BUTTON ID_BUTTON32803
|
||
BUTTON ID_BUTTON32804
|
||
BUTTON ID_BUTTON32805
|
||
BUTTON ID_BUTTON32806
|
||
BUTTON ID_BUTTON32807
|
||
SEPARATOR
|
||
BUTTON ID_FILE_CLOSE
|
||
BUTTON ID_APP_ABOUT
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Menu
|
||
//
|
||
|
||
IDR_MAINFRAME MENU
|
||
BEGIN
|
||
POPUP "文件(&F)"
|
||
BEGIN
|
||
MENUITEM "新建(&N)\tCtrl+N", ID_FILE_NEW
|
||
MENUITEM "打开(&O)...\tCtrl+O", ID_FILE_OPEN
|
||
MENUITEM "保存(&S)\tCtrl+S", ID_FILE_SAVE
|
||
MENUITEM "另存为(&A)...", ID_FILE_SAVE_AS
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "退出(&X)", ID_APP_EXIT
|
||
END
|
||
POPUP "菜单(&M)"
|
||
BEGIN
|
||
MENUITEM "采集设置(&U)", ID_EDIT_UNDO
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "开始(&S)", ID_EDIT_CUT
|
||
MENUITEM "暂停(&C)", ID_EDIT_COPY
|
||
MENUITEM "停止(&P)", ID_EDIT_PASTE
|
||
END
|
||
POPUP "能谱(&E)"
|
||
BEGIN
|
||
POPUP "平滑处理"
|
||
BEGIN
|
||
MENUITEM "原始数据", ID_32787
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "三点平滑", ID_32788
|
||
MENUITEM "五点平滑", ID_32789
|
||
END
|
||
MENUITEM SEPARATOR
|
||
POPUP "坐标轴"
|
||
BEGIN
|
||
MENUITEM "线性", ID_32791
|
||
MENUITEM "对数", ID_32792
|
||
END
|
||
POPUP "量程"
|
||
BEGIN
|
||
MENUITEM "自动", ID_32796
|
||
MENUITEM "×1/4", ID_32797
|
||
MENUITEM "×1/2", ID_32798
|
||
MENUITEM "×1", ID_32799
|
||
MENUITEM "×2", ID_32800
|
||
MENUITEM "×4", ID_32801
|
||
END
|
||
MENUITEM "寻峰", ID_32794
|
||
MENUITEM "光标", ID_32795
|
||
END
|
||
POPUP "显示(&D)"
|
||
BEGIN
|
||
MENUITEM "工具栏(&T)", ID_VIEW_TOOLBAR
|
||
MENUITEM "状态栏(&S)", ID_VIEW_STATUS_BAR
|
||
END
|
||
POPUP "帮助(&H)"
|
||
BEGIN
|
||
MENUITEM "关于 Multichannel Analyzer(&A)...", ID_APP_ABOUT
|
||
END
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Accelerator
|
||
//
|
||
|
||
IDR_MAINFRAME ACCELERATORS
|
||
BEGIN
|
||
"N", ID_FILE_NEW, VIRTKEY, CONTROL
|
||
"O", ID_FILE_OPEN, VIRTKEY, CONTROL
|
||
"S", ID_FILE_SAVE, VIRTKEY, CONTROL
|
||
"P", ID_FILE_PRINT, VIRTKEY, CONTROL
|
||
"Z", ID_EDIT_UNDO, VIRTKEY, CONTROL
|
||
"X", ID_EDIT_CUT, VIRTKEY, CONTROL
|
||
"C", ID_EDIT_COPY, VIRTKEY, CONTROL
|
||
"V", ID_EDIT_PASTE, VIRTKEY, CONTROL
|
||
VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT
|
||
VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT
|
||
VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL
|
||
VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT
|
||
VK_F6, ID_NEXT_PANE, VIRTKEY
|
||
VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Dialog
|
||
//
|
||
|
||
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
|
||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "关于 Multichannel Analyzer"
|
||
FONT 9, "MS Shell Dlg", 0, 0, 0x1
|
||
BEGIN
|
||
ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20
|
||
LTEXT "Multichannel Analyzer,版本 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX
|
||
LTEXT "版权所有 (C) 2022",IDC_STATIC,42,26,114,8
|
||
DEFPUSHBUTTON "确定",IDOK,113,41,50,14,WS_GROUP
|
||
END
|
||
|
||
IDD_DIALOG_CONTROL DIALOGEX 0, 0, 167, 255
|
||
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_SYSMENU
|
||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||
BEGIN
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Version
|
||
//
|
||
|
||
VS_VERSION_INFO VERSIONINFO
|
||
FILEVERSION 0,1,0,0
|
||
PRODUCTVERSION 0,1,0,0
|
||
FILEFLAGSMASK 0x3fL
|
||
#ifdef _DEBUG
|
||
FILEFLAGS 0x1L
|
||
#else
|
||
FILEFLAGS 0x0L
|
||
#endif
|
||
FILEOS 0x40004L
|
||
FILETYPE 0x1L
|
||
FILESUBTYPE 0x0L
|
||
BEGIN
|
||
BLOCK "StringFileInfo"
|
||
BEGIN
|
||
BLOCK "080404b0"
|
||
BEGIN
|
||
VALUE "CompanyName", "YiHui-Liu"
|
||
VALUE "FileDescription", "Multichannel Analyzer"
|
||
VALUE "FileVersion", "0,1,0"
|
||
VALUE "InternalName", "MCA.exe"
|
||
VALUE "LegalCopyright", "(C) YiHui-Liu 保留所有权利"
|
||
VALUE "OriginalFilename", "MCA.exe"
|
||
VALUE "ProductName", "Multichannel Analyzer"
|
||
VALUE "ProductVersion", "0.1.0"
|
||
END
|
||
END
|
||
BLOCK "VarFileInfo"
|
||
BEGIN
|
||
VALUE "Translation", 0x804, 1200
|
||
END
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// DESIGNINFO
|
||
//
|
||
|
||
#ifdef APSTUDIO_INVOKED
|
||
GUIDELINES DESIGNINFO
|
||
BEGIN
|
||
IDD_ABOUTBOX, DIALOG
|
||
BEGIN
|
||
LEFTMARGIN, 7
|
||
RIGHTMARGIN, 163
|
||
TOPMARGIN, 7
|
||
BOTTOMMARGIN, 55
|
||
END
|
||
|
||
IDD_DIALOG_CONTROL, DIALOG
|
||
BEGIN
|
||
LEFTMARGIN, 7
|
||
RIGHTMARGIN, 160
|
||
TOPMARGIN, 7
|
||
BOTTOMMARGIN, 248
|
||
END
|
||
END
|
||
#endif // APSTUDIO_INVOKED
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// AFX_DIALOG_LAYOUT
|
||
//
|
||
|
||
IDD_DIALOG_CONTROL AFX_DIALOG_LAYOUT
|
||
BEGIN
|
||
0
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// String Table
|
||
//
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
IDP_OLE_INIT_FAILED "OLE 初始化失败。 请确保 OLE 库是正确的版本。"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
IDR_MAINFRAME "MCA\n\nMCA\n\n\nMCA.Document\nMCA.Document"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
AFX_IDS_APP_TITLE "Multichannel Analyzer"
|
||
AFX_IDS_IDLEMESSAGE "就绪"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
ID_INDICATOR_EXT "EXT"
|
||
ID_INDICATOR_CAPS "CAP"
|
||
ID_INDICATOR_NUM "NUM"
|
||
ID_INDICATOR_SCRL "SCRL"
|
||
ID_INDICATOR_OVR "OVR"
|
||
ID_INDICATOR_REC "REC"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
ID_FILE_NEW "创建新文档\n新建"
|
||
ID_FILE_OPEN "打开现有文档\n打开"
|
||
ID_FILE_CLOSE "关闭活动文档\n关闭"
|
||
ID_FILE_SAVE "保存活动文档\n保存"
|
||
ID_FILE_SAVE_AS "用新名称保存活动文档\n另存为"
|
||
ID_FILE_PAGE_SETUP "更改打印选项\n页面设置"
|
||
ID_FILE_PRINT_SETUP "更改打印机选项和打印选项\n打印设置"
|
||
ID_FILE_PRINT "打印活动文档\n打印"
|
||
ID_FILE_PRINT_DIRECT "使用当前选项打印活动文档\n快速打印"
|
||
ID_FILE_PRINT_PREVIEW "显示整页\n打印预览"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
ID_APP_ABOUT "显示程序信息、版本号和版权信息\n关于"
|
||
ID_APP_EXIT "退出应用程序;提示保存文档\n退出"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
ID_FILE_MRU_FILE1 "打开此文档"
|
||
ID_FILE_MRU_FILE2 "打开此文档"
|
||
ID_FILE_MRU_FILE3 "打开此文档"
|
||
ID_FILE_MRU_FILE4 "打开此文档"
|
||
ID_FILE_MRU_FILE5 "打开此文档"
|
||
ID_FILE_MRU_FILE6 "打开此文档"
|
||
ID_FILE_MRU_FILE7 "打开此文档"
|
||
ID_FILE_MRU_FILE8 "打开此文档"
|
||
ID_FILE_MRU_FILE9 "打开此文档"
|
||
ID_FILE_MRU_FILE10 "打开此文档"
|
||
ID_FILE_MRU_FILE11 "打开此文档"
|
||
ID_FILE_MRU_FILE12 "打开此文档"
|
||
ID_FILE_MRU_FILE13 "打开此文档"
|
||
ID_FILE_MRU_FILE14 "打开此文档"
|
||
ID_FILE_MRU_FILE15 "打开此文档"
|
||
ID_FILE_MRU_FILE16 "打开此文档"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
ID_NEXT_PANE "切换到下一个窗格\n下一窗格"
|
||
ID_PREV_PANE "切换回上一个窗格\n上一窗格"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
ID_WINDOW_SPLIT "将活动窗口拆分为多个窗格\n拆分"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
ID_EDIT_CLEAR "清除所选内容\n清除"
|
||
ID_EDIT_CLEAR_ALL "清除全部内容\n全部清除"
|
||
ID_EDIT_COPY "复制所选内容,将其放入剪贴板\n复制"
|
||
ID_EDIT_CUT "剪切所选内容,将其放入剪贴板\n剪切"
|
||
ID_EDIT_FIND "查找指定的文本\n查找"
|
||
ID_EDIT_PASTE "插入剪贴板内容\n粘贴"
|
||
ID_EDIT_REPEAT "重复上一操作\n重复"
|
||
ID_EDIT_REPLACE "用其他文本替换特定的文本\n替换"
|
||
ID_EDIT_SELECT_ALL "选定整个文档\n全选"
|
||
ID_EDIT_UNDO "撤消上一操作\n撤消"
|
||
ID_EDIT_REDO "重做上次撤消的操作\n重做"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
ID_VIEW_TOOLBAR "显示或隐藏工具栏\n切换工具栏"
|
||
ID_VIEW_STATUS_BAR "显示或隐藏状态栏\n切换状态栏"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
AFX_IDS_SCSIZE "更改窗口大小"
|
||
AFX_IDS_SCMOVE "更改窗口位置"
|
||
AFX_IDS_SCMINIMIZE "将窗口缩小成图标"
|
||
AFX_IDS_SCMAXIMIZE "将窗口放大到最大尺寸"
|
||
AFX_IDS_SCNEXTWINDOW "切换到下一个文档窗口"
|
||
AFX_IDS_SCPREVWINDOW "切换到上一个文档窗口"
|
||
AFX_IDS_SCCLOSE "关闭活动窗口并提示保存文档"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
AFX_IDS_SCRESTORE "将窗口恢复到正常大小"
|
||
AFX_IDS_SCTASKLIST "激活任务列表"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
AFX_IDS_PREVIEW_CLOSE "关闭打印预览模式\n取消预览"
|
||
END
|
||
|
||
#endif // 中文(简体,中国) resources
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
// 英语(美国) resources
|
||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||
|
||
#ifdef APSTUDIO_INVOKED
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// TEXTINCLUDE
|
||
//
|
||
|
||
1 TEXTINCLUDE
|
||
BEGIN
|
||
"resource.h\0"
|
||
END
|
||
|
||
2 TEXTINCLUDE
|
||
BEGIN
|
||
"#ifndef APSTUDIO_INVOKED\r\n"
|
||
"#include ""targetver.h""\r\n"
|
||
"#endif\r\n"
|
||
"#include ""afxres.h""\r\n"
|
||
"#include ""verrsrc.h""\r\n"
|
||
"\0"
|
||
END
|
||
|
||
3 TEXTINCLUDE
|
||
BEGIN
|
||
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
||
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
||
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
||
"\r\n"
|
||
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
|
||
"LANGUAGE 4, 2\r\n"
|
||
"#include ""res\\MCA.rc2"" // ?????¡ì????¡ì?? Microsoft Visual C++ ?????¨¬????¡§???¡§?????¡§??????¡ì????¡ì??-|????¨¬????????¨¬????¡§?|????¡§??o???\r\n"
|
||
"#include ""l.CHS\\afxres.rc"" // ?????¨¬????¡§???¡§?????¡§??o?????¨¬????¡§?|??????¨¬????¡§?|????¡§??|?t\r\n"
|
||
"#include ""l.CHS\\afxprint.rc"" // ??????¡§????????¡§????/??????¡§????????¡§??????????¨¬?????¨¬?????¡§??????¡ì????¡ì?????¡§??????¡ì????¡ì??????¨¬????¡§?|????¡§??o???\r\n"
|
||
"#endif\r\n"
|
||
"\0"
|
||
END
|
||
|
||
#endif // APSTUDIO_INVOKED
|
||
|
||
#endif // 英语(美国) resources
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
|
||
|
||
|
||
#ifndef APSTUDIO_INVOKED
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Generated from the TEXTINCLUDE 3 resource.
|
||
//
|
||
#define _AFX_NO_OLE_RESOURCES
|
||
#define _AFX_NO_TRACKER_RESOURCES
|
||
#define _AFX_NO_PROPERTY_RESOURCES
|
||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
|
||
LANGUAGE 4, 2
|
||
#include "res\MCA.rc2" // ?????¡ì????¡ì?? Microsoft Visual C++ ?????¨¬????¡§???¡§?????¡§??????¡ì????¡ì??-|????¨¬????????¨¬????¡§?|????¡§??o???
|
||
#include "l.CHS\afxres.rc" // ?????¨¬????¡§???¡§?????¡§??o?????¨¬????¡§?|??????¨¬????¡§?|????¡§??|?t
|
||
#include "l.CHS\afxprint.rc" // ??????¡§????????¡§????/??????¡§????????¡§??????????¨¬?????¨¬?????¡§??????¡ì????¡ì?????¡§??????¡ì????¡ì??????¨¬????¡§?|????¡§??o???
|
||
#endif
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
#endif // not APSTUDIO_INVOKED
|
||
|