2003-01-09 01:51:09 +01:00
|
|
|
|
/*
|
2008-08-29 04:50:42 +02:00
|
|
|
|
* Notepad (Simplified and Traditional Chinese resources)
|
2003-01-09 01:51:09 +01:00
|
|
|
|
*
|
|
|
|
|
* Copyright 2002 liuspider <liuspider@yahoo.com>
|
2008-08-29 04:50:42 +02:00
|
|
|
|
* Copyright 2008 Hongbo Ni <hongbo.at.njstar.com>
|
2010-11-13 09:46:45 +01:00
|
|
|
|
* Copyright 2010 Cheer Xiao <xiaqqaix.at.gmail.com>
|
2003-01-09 01:51:09 +01:00
|
|
|
|
*
|
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 14:49:52 +02:00
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2003-01-09 01:51:09 +01:00
|
|
|
|
*/
|
|
|
|
|
|
2009-07-02 00:29:04 +02:00
|
|
|
|
#include "notepad_res.h"
|
|
|
|
|
|
2008-08-26 14:46:49 +02:00
|
|
|
|
/* Chinese text is encoded in UTF-8 */
|
|
|
|
|
#pragma code_page(65001)
|
|
|
|
|
|
2010-07-21 10:32:50 +02:00
|
|
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
|
|
|
|
|
2003-01-09 01:51:09 +01:00
|
|
|
|
/* Dialog `Page setup' */
|
|
|
|
|
|
|
|
|
|
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
|
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
2008-12-10 19:29:14 +01:00
|
|
|
|
FONT 9, "MS Shell Dlg"
|
2008-08-26 14:46:49 +02:00
|
|
|
|
CAPTION "页面设置"
|
2003-01-09 01:51:09 +01:00
|
|
|
|
{
|
2010-11-13 09:46:45 +01:00
|
|
|
|
LTEXT "页眉(&H):", 0x140, 10, 07, 40, 15
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_HEADERVALUE, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
2010-11-13 09:46:45 +01:00
|
|
|
|
LTEXT "页脚(&F):", 0x142, 10, 24, 40, 15
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_FOOTERVALUE, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
2003-01-09 01:51:09 +01:00
|
|
|
|
|
2010-11-13 09:46:45 +01:00
|
|
|
|
GROUPBOX "边距(毫米)(&M):", 0x144, 10, 43,160, 45
|
|
|
|
|
LTEXT "左(&L):", 0x145, 20, 55, 30, 10, WS_CHILD
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_LEFTVALUE, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
2010-11-13 09:46:45 +01:00
|
|
|
|
LTEXT "上(&T):", 0x148, 20, 73, 30, 10, WS_CHILD
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_TOPVALUE, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
2010-11-13 09:46:45 +01:00
|
|
|
|
LTEXT "右(&R):", 0x14B, 100, 55, 30, 10, WS_CHILD
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_RIGHTVALUE, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
2010-11-13 09:46:45 +01:00
|
|
|
|
LTEXT "下(&B):", 0x14E,100, 73, 30, 10, WS_CHILD
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_BOTTOMVALUE, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
2003-01-09 01:51:09 +01:00
|
|
|
|
|
2008-08-26 14:46:49 +02:00
|
|
|
|
DEFPUSHBUTTON "确定", IDOK, 180, 3, 40, 15, WS_TABSTOP
|
|
|
|
|
PUSHBUTTON "取消", IDCANCEL, 180, 21, 40, 15, WS_TABSTOP
|
|
|
|
|
PUSHBUTTON "帮助(&H)", IDHELP, 180, 39, 40, 15, WS_TABSTOP
|
2003-01-09 01:51:09 +01:00
|
|
|
|
}
|
|
|
|
|
|
2010-11-13 09:46:45 +01:00
|
|
|
|
IDD_OFN_TEMPLATE DIALOG 50,50,300,15
|
|
|
|
|
STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
|
|
|
|
|
FONT 9, "MS Shell Dlg"
|
|
|
|
|
BEGIN
|
|
|
|
|
LTEXT "编码:", -1, 5,0, 50,12
|
|
|
|
|
COMBOBOX IDC_OFN_ENCCOMBO, 53,0, 156,48, WS_CHILD | WS_VSCROLL | CBS_DROPDOWNLIST
|
|
|
|
|
END
|
|
|
|
|
|
2008-08-29 04:50:42 +02:00
|
|
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
|
|
|
|
|
|
|
|
|
|
/* Dialog `Page setup' */
|
|
|
|
|
|
|
|
|
|
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
|
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
2008-12-10 19:29:14 +01:00
|
|
|
|
FONT 9, "MS Shell Dlg"
|
2008-08-29 04:50:42 +02:00
|
|
|
|
CAPTION "版面設定"
|
|
|
|
|
{
|
|
|
|
|
LTEXT "頁首(&H):", 0x140, 10, 07, 40, 15
|
|
|
|
|
EDITTEXT IDC_PAGESETUP_HEADERVALUE, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
|
|
|
|
LTEXT "腳註(&F):", 0x142, 10, 24, 40, 15
|
|
|
|
|
EDITTEXT IDC_PAGESETUP_FOOTERVALUE, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
|
|
|
|
|
|
|
|
|
GROUPBOX "邊緣空白(&M):", 0x144, 10, 43,160, 45
|
|
|
|
|
LTEXT "左(&L):", 0x145, 20, 55, 30, 10, WS_CHILD
|
|
|
|
|
EDITTEXT IDC_PAGESETUP_LEFTVALUE, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
|
|
|
|
LTEXT "上(&T):", 0x148, 20, 73, 30, 10, WS_CHILD
|
|
|
|
|
EDITTEXT IDC_PAGESETUP_TOPVALUE, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
|
|
|
|
LTEXT "右(&R):", 0x14B, 100, 55, 30, 10, WS_CHILD
|
|
|
|
|
EDITTEXT IDC_PAGESETUP_RIGHTVALUE, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
|
|
|
|
LTEXT "下(&B):", 0x14E,100, 73, 30, 10, WS_CHILD
|
|
|
|
|
EDITTEXT IDC_PAGESETUP_BOTTOMVALUE, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
|
|
|
|
|
|
|
|
|
DEFPUSHBUTTON "確定", IDOK, 180, 3, 40, 15, WS_TABSTOP
|
|
|
|
|
PUSHBUTTON "取消", IDCANCEL, 180, 21, 40, 15, WS_TABSTOP
|
|
|
|
|
PUSHBUTTON "幫助(&H)", IDHELP, 180, 39, 40, 15, WS_TABSTOP
|
|
|
|
|
}
|