235 lines
12 KiB
Plaintext
235 lines
12 KiB
Plaintext
/*
|
|
* Copyright 2000 Aric Stewart
|
|
*
|
|
* 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
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
/*
|
|
* WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
|
|
*/
|
|
|
|
/* Chinese text is encoded in UTF-8 */
|
|
#pragma code_page(65001)
|
|
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
|
|
|
|
OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "開啟"
|
|
FONT 8, "MS Shell Dlg"
|
|
{
|
|
LTEXT "檔案名稱(&N):", 1090, 6, 6, 100, 9
|
|
EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
|
|
LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "目錄(&D):", -1, 110, 6, 92, 9
|
|
LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
|
|
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "檔案類型(&T):", 1089, 6, 104, 90, 9
|
|
COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "磁碟機(&V):", 1091, 110, 104, 92, 9
|
|
COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "開啟", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "取消", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "求助(&H)", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "唯讀(&R)", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
|
|
SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "另存新檔..."
|
|
FONT 8, "MS Shell Dlg"
|
|
{
|
|
LTEXT "檔案名稱(&N):", 1090, 6, 6, 76, 9
|
|
EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
|
|
LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "目錄(&D):", -1, 110, 6, 92, 9
|
|
LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
|
|
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "存檔類型(&T):", 1089, 6, 104, 90, 9
|
|
COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "磁碟機(&V):", 1091, 110, 104, 92, 9
|
|
COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "另存新檔", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "取消", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "求助(&H)", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "唯讀(&R)", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
CHOOSE_FONT DIALOG DISCARDABLE 13, 54, 294, 147
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "字型"
|
|
FONT 8, "MS Shell Dlg"
|
|
{
|
|
LTEXT "字型(&F):",1088 ,6,3,40,9
|
|
COMBOBOX 1136 ,6,13,124,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
|
|
CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
|
|
LTEXT "字型樣式(&Y):",1089 ,138,3,44,9
|
|
COMBOBOX 1137,138,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
|
|
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
|
|
LTEXT "大小(&S):",1090,209,3,30,9
|
|
COMBOBOX 1138,209,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
|
|
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
|
|
DEFPUSHBUTTON "確定",IDOK,248,6,40,14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "取消",IDCANCEL,248,23,40,14,WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "套用(&A)", 1026,248,40,40,14,WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "求助(&H)" , 1038,248,57,40,14,WS_GROUP | WS_TABSTOP
|
|
GROUPBOX "效果",1072,6,72,84,34,WS_GROUP
|
|
CHECKBOX "刪除線(&K)", 1040, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
CHECKBOX "底線(&U)", 1041, 10,94,50,10, BS_AUTOCHECKBOX
|
|
LTEXT "色彩(&C):", 1091 ,6,110,30,9
|
|
COMBOBOX 1139,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
|
|
CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
GROUPBOX "範例",grp2,98,72,120,36,WS_GROUP
|
|
CTEXT "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
|
|
LTEXT "Scr&ipt (translate):",stc7 ,98,114,80,9
|
|
COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
|
|
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
|
|
}
|
|
|
|
|
|
CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 185
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "色彩"
|
|
FONT 8, "MS Shell Dlg"
|
|
{
|
|
LTEXT "基本色彩(&B):", 1088, 4, 4, 140, 10
|
|
LTEXT "自定色彩(&C):", 1089, 4, 106, 140, 10
|
|
LTEXT "色彩 | 實心(&I)", 1090, 150, 151, 48, 10
|
|
LTEXT "紅(&R):", 726 /*1094*/,249,126,24,10
|
|
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "綠(&G):",727/*1095*/,249,140,24,10
|
|
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "藍(&B):",728 /*1096*/,249,154,24,10
|
|
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "色調(&H):" ,723 /*1091*/,202,126,22,10
|
|
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "濃度(&S):" ,724 /*1092*/,202,140,22,10
|
|
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "亮度(&L):" ,725 /*1093*/,202,154,22,10
|
|
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
|
|
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
|
|
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
|
|
CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
|
|
CONTROL "" ,709,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
|
|
DEFPUSHBUTTON "確定", 1, 4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "取消", 2, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "求助(&H)", 1038,100,166, 44, 14
|
|
PUSHBUTTON "新增自定色彩(&A)", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "定義自定色彩(&D) >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&i",713,300,200,4,14 /* just a dummy: 'i' is like &i in "sol&id" */
|
|
}
|
|
|
|
|
|
FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 263, 62
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "搜尋"
|
|
FONT 8, "MS Shell Dlg"
|
|
{
|
|
LTEXT "搜尋目標(&N):", -1, 4, 8, 50, 8
|
|
EDITTEXT 1152, 61, 7, 130, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "全字拼寫須符合(&W)", 1040, 4, 26, 89, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "大小寫視為相異(&C)", 1041, 4, 42, 89, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
GROUPBOX "方向", 1072, 95, 26, 97, 28
|
|
CONTROL "向上(&U)", 1056, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 100, 38, 45, 12
|
|
CONTROL "向下(&D)", 1057, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 145, 38, 45, 12
|
|
|
|
DEFPUSHBUTTON "找下一個(&F)", IDOK, 199, 5, 60, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "取消", IDCANCEL , 199, 23, 60, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "求助(&H)", pshHelp , 199, 45, 60, 14, WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
|
|
REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 263, 94
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "取代"
|
|
FONT 8, "MS Shell Dlg"
|
|
{
|
|
LTEXT "尋找目標(&N):", -1, 4, 9, 50, 8
|
|
EDITTEXT 1152, 61, 7, 130, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "取代為(&P):", -1, 4, 26, 50, 8
|
|
EDITTEXT 1153, 61, 24, 130, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "全字拼寫須符合(&W)", 1040, 5, 46, 89, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "大小寫視為想異(&C)", 1041, 5, 62, 89, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
DEFPUSHBUTTON "找下一個(&F)", IDOK, 199, 4, 60, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "取代(&R)", psh1 , 199, 21, 60, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "取代全部(&A)", psh2 , 199, 38, 60, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "取消", IDCANCEL , 199, 55, 60, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "求助(&H)", pshHelp , 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
NEWFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 280, 164
|
|
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN
|
|
CAPTION "開啟舊檔"
|
|
FONT 8, "MS Shell Dlg"
|
|
{
|
|
LTEXT "搜尋位置(&I)",IDC_LOOKINSTATIC,4,6,43,8, SS_NOTIFY
|
|
COMBOBOX IDC_LOOKIN,52,3,130,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
|
|
|
|
LTEXT "" , IDC_TOOLBARSTATIC, 181, 2, 102, 17, NOT WS_GROUP | NOT WS_VISIBLE
|
|
LISTBOX IDC_SHELLSTATIC,4,20,272,85, LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_HSCROLL | NOT WS_VISIBLE
|
|
|
|
LTEXT "檔案名稱(&N):",IDC_FILENAMESTATIC,5,112,46,8, SS_NOTIFY
|
|
EDITTEXT IDC_FILENAME,59,110,155,12,ES_AUTOHSCROLL
|
|
|
|
LTEXT "檔案類型(&T):",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
|
|
COMBOBOX IDC_FILETYPE,59,126,155,53,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
|
|
CONTROL "開啟成唯讀(&R)",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10
|
|
|
|
DEFPUSHBUTTON "開啟(&O)", IDOK,222,110,50,14
|
|
PUSHBUTTON "取消", IDCANCEL,222,128,50,14
|
|
PUSHBUTTON "求助(&H)", pshHelp,222,145,50,14
|
|
}
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
{
|
|
IDS_ABOUTBOX "&About FolderPicker Test"
|
|
IDS_DOCUMENTFOLDERS "文件夾"
|
|
IDS_PERSONAL "我的文件"
|
|
IDS_FAVORITES "我的最愛"
|
|
IDS_PATH "系統路徑"
|
|
IDS_DESKTOP "桌面"
|
|
IDS_FONTS "字型"
|
|
IDS_MYCOMPUTER "我的電腦"
|
|
}
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
{
|
|
IDS_SYSTEMFOLDERS "System Folders"
|
|
IDS_LOCALHARDRIVES "Local Hard Drives"
|
|
IDS_FILENOTFOUND "File not found"
|
|
IDS_VERIFYFILE "Please verify if the correct file name was given"
|
|
IDS_CREATEFILE "File does not exist\nDo you want to create file"
|
|
IDS_OVERWRITEFILE "File does already exist.\nDo you want to replace it?"
|
|
IDS_INVALID_FILENAME_TITLE "Invalid character(s) in path"
|
|
IDS_INVALID_FILENAME "A filename cannot contain any of the following characters:\n / : < > |"
|
|
IDS_PATHNOTEXISTING "Path does not exist"
|
|
IDS_FILENOTEXISTING "File does not exist"
|
|
}
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
{
|
|
IDS_UPFOLDER "向上一層"
|
|
IDS_NEWFOLDER "建立新資料夾"
|
|
IDS_LISTVIEW "清單"
|
|
IDS_REPORTVIEW "詳細資料"
|
|
IDS_TODESKTOP "顯示桌面"
|
|
}
|
|
|
|
#pragma code_page(default)
|