msgsm32.acm: Fix compiler warnings with flag -Wcast-qual.
[wine] / programs / taskmgr / Zh.rc
1 /*
2  * Task Manager (Simplified and Traditional Chinese Resource)
3  *
4  * Copyright 2008 Hongbo Ni <hongbo.at.njstar.com>
5  *
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20  */
21
22 #include "resource.h"
23
24 /* Chinese text is encoded in UTF-8 */
25 #pragma code_page(65001)
26
27 LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
28
29 /*
30  Menu
31 */
32
33 IDR_TASKMANAGER MENU DISCARDABLE
34 BEGIN
35     POPUP "文件(&F)"
36     BEGIN
37         MENUITEM "新任务(&N)...", ID_FILE_NEW
38         MENUITEM SEPARATOR
39         MENUITEM "退出任务管理器(&X)", ID_FILE_EXIT
40     END
41     POPUP "选项(&O)"
42     BEGIN
43         MENUITEM "总是在最上面(&A)", ID_OPTIONS_ALWAYSONTOP
44         , CHECKED
45         MENUITEM "启动后最小化(&M)", ID_OPTIONS_MINIMIZEONUSE
46         , CHECKED
47         MENUITEM "最小化时隐藏(&H)", ID_OPTIONS_HIDEWHENMINIMIZED
48         , CHECKED
49         MENUITEM "显示16位任务(&S)", ID_OPTIONS_SHOW16BITTASKS
50         , CHECKED
51     END
52     POPUP "视图(&V)"
53     BEGIN
54         MENUITEM "刷新(&R)", ID_VIEW_REFRESH
55         POPUP "更新速度(&U)"
56         BEGIN
57             MENUITEM "快(&H)", ID_VIEW_UPDATESPEED_HIGH
58             MENUITEM "正常(&N)", ID_VIEW_UPDATESPEED_NORMAL
59             , CHECKED
60             MENUITEM "慢(&L)", ID_VIEW_UPDATESPEED_LOW
61             MENUITEM "暂停(&P)", ID_VIEW_UPDATESPEED_PAUSED
62
63         END
64         MENUITEM SEPARATOR
65         MENUITEM "大图标(&G)", ID_VIEW_LARGE
66         MENUITEM "小图标(&M)", ID_VIEW_SMALL
67         MENUITEM "详情列表(&D)", ID_VIEW_DETAILS, CHECKED
68         MENUITEM "选择内容(&S)...", ID_VIEW_SELECTCOLUMNS
69         POPUP "&CPU 历史"
70         BEGIN
71             MENUITEM "一张图显示所有的 &CPU", ID_VIEW_CPUHISTORY_ONEGRAPHALL
72
73             MENUITEM "每一个 C&PU 各一张图", ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU
74             , CHECKED
75         END
76         MENUITEM "显示内核时间(&S)", ID_VIEW_SHOWKERNELTIMES
77     END
78     POPUP "视窗(&W)"
79     BEGIN
80         MENUITEM "横向平铺(&H)", ID_WINDOWS_TILEHORIZONTALLY
81         MENUITEM "纵向平铺(&V)", ID_WINDOWS_TILEVERTICALLY
82         MENUITEM "最小化(&M)", ID_WINDOWS_MINIMIZE
83         MENUITEM "最大化(&X)", ID_WINDOWS_MAXIMIZE
84         MENUITEM "层叠(&C)", ID_WINDOWS_CASCADE
85         MENUITEM "移到最前面(&B)", ID_WINDOWS_BRINGTOFRONT
86     END
87     POPUP "帮助(&H)"
88     BEGIN
89         MENUITEM "帮助内容(&H)", ID_HELP_TOPICS
90         MENUITEM SEPARATOR
91         MENUITEM "关于任务管理器(&A)", ID_HELP_ABOUT
92     END
93 END
94
95 IDR_WINDOWSMENU MENU DISCARDABLE
96 BEGIN
97     MENUITEM "横向平铺(&H)", ID_WINDOWS_TILEHORIZONTALLY
98     MENUITEM "纵向平铺(&V)", ID_WINDOWS_TILEVERTICALLY
99     MENUITEM "最小化(&M)", ID_WINDOWS_MINIMIZE
100     MENUITEM "最大化(&X)", ID_WINDOWS_MAXIMIZE
101     MENUITEM "层叠(&C)", ID_WINDOWS_CASCADE
102     MENUITEM "移到最前面(&B)", ID_WINDOWS_BRINGTOFRONT
103 END
104
105 IDR_APPLICATION_PAGE_CONTEXT1 MENU DISCARDABLE
106 BEGIN
107     POPUP "DUMMY"
108     BEGIN
109         MENUITEM "新任务(&N)...", ID_FILE_NEW
110         MENUITEM SEPARATOR
111         MENUITEM "大图标(&G)", ID_VIEW_LARGE
112         MENUITEM "小图标(&M)", ID_VIEW_SMALL
113         MENUITEM "详情列表(&D)", ID_VIEW_DETAILS, CHECKED
114     END
115 END
116
117 IDR_APPLICATION_PAGE_CONTEXT2 MENU DISCARDABLE
118 BEGIN
119     POPUP "DUMMY"
120     BEGIN
121         MENUITEM "转到(&S)", ID_APPLICATION_PAGE_SWITCHTO
122         MENUITEM "移到最前面(&B)", ID_WINDOWS_BRINGTOFRONT
123         MENUITEM SEPARATOR
124         MENUITEM "横向平铺(&H)", ID_WINDOWS_TILEHORIZONTALLY
125         MENUITEM "纵向平铺(&V)", ID_WINDOWS_TILEVERTICALLY
126         MENUITEM "最小化(&M)", ID_WINDOWS_MINIMIZE
127         MENUITEM "最大化(&X)", ID_WINDOWS_MAXIMIZE
128         MENUITEM "层叠(&C)", ID_WINDOWS_CASCADE
129         MENUITEM SEPARATOR
130         MENUITEM "结束任务(&E)", ID_APPLICATION_PAGE_ENDTASK
131         MENUITEM "转此进程(&G)", ID_APPLICATION_PAGE_GOTOPROCESS
132     END
133 END
134
135 IDR_TRAY_POPUP MENU DISCARDABLE
136 BEGIN
137     POPUP "DUMMY"
138     BEGIN
139         MENUITEM "恢复(&R)", ID_RESTORE
140         MENUITEM "关闭(&C)", ID_FILE_EXIT
141         MENUITEM SEPARATOR
142         MENUITEM "总是在最上面(&A)", ID_OPTIONS_ALWAYSONTOP
143     END
144 END
145
146 IDR_PROCESS_PAGE_CONTEXT MENU DISCARDABLE
147 BEGIN
148     POPUP "DUMMY"
149     BEGIN
150         MENUITEM "结束进程(&E)", ID_PROCESS_PAGE_ENDPROCESS
151         MENUITEM "结束进程树(&T)", ID_PROCESS_PAGE_ENDPROCESSTREE
152
153         MENUITEM "调试(&D)", ID_PROCESS_PAGE_DEBUG
154         MENUITEM SEPARATOR
155         POPUP "优先权指定(&P)"
156         BEGIN
157             MENUITEM "实时(&R)", ID_PROCESS_PAGE_SETPRIORITY_REALTIME
158
159             MENUITEM "高(&H)", ID_PROCESS_PAGE_SETPRIORITY_HIGH
160
161             MENUITEM "正常以上(&A)", ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL
162
163             MENUITEM "正常(&N)", ID_PROCESS_PAGE_SETPRIORITY_NORMAL
164
165             MENUITEM "正常以下(&B)", ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL
166
167             MENUITEM "低(&L)", ID_PROCESS_PAGE_SETPRIORITY_LOW
168
169         END
170         MENUITEM "亲和度指定(&A)...", ID_PROCESS_PAGE_SETAFFINITY
171         MENUITEM "编辑调试频道(&C)...", ID_PROCESS_PAGE_DEBUGCHANNELS
172     END
173 END
174
175 /*
176  Dialog
177 */
178
179 IDD_TASKMGR_DIALOG DIALOG DISCARDABLE  0, 0, 264, 246
180 STYLE DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP |
181     WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU |
182     WS_THICKFRAME
183 CAPTION "任务管理器"
184 MENU IDR_TASKMANAGER
185 FONT 9, "MS Shell Dlg"
186 BEGIN
187     CONTROL         "Tab1",IDC_TAB,"SysTabControl32",WS_TABSTOP,3,3,257,228
188 END
189
190 IDD_APPLICATION_PAGE DIALOG DISCARDABLE  0, 0, 247, 210
191 STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
192 FONT 9, "MS Shell Dlg"
193 BEGIN
194     CONTROL         "List2",IDC_APPLIST,"SysListView32",LVS_REPORT |
195                     LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,7,7,233,177
196     PUSHBUTTON      "新任务(&N)...",IDC_NEWTASK,187,189,53,14
197     PUSHBUTTON      "转到(&S)",IDC_SWITCHTO,131,189,53,14,WS_DISABLED
198     PUSHBUTTON      "结束任务(&E)",IDC_ENDTASK,75,189,53,14,WS_DISABLED
199 END
200
201 IDD_PROCESS_PAGE DIALOG DISCARDABLE  0, 0, 247, 210
202 STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
203 FONT 9, "MS Shell Dlg"
204 BEGIN
205     CONTROL         "List2",IDC_PROCESSLIST,"SysListView32",LVS_REPORT |
206                     LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_OWNERDATA |
207                     WS_BORDER | WS_TABSTOP,7,7,233,177
208     PUSHBUTTON      "结束进程(&E)",IDC_ENDPROCESS,171,189,69,14
209     CONTROL         "显示所有用户进程(&S)",IDC_SHOWALLPROCESSES,
210                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,191,111,10
211 END
212
213 /*IDD_PERFORMANCE_PAGE DIALOGEX 0, 0, 247, 210*/
214 IDD_PERFORMANCE_PAGE DIALOGEX DISCARDABLE  0, 0, 247, 210
215 STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
216 FONT 9, "MS Shell Dlg"
217 BEGIN
218     GROUPBOX        "CPU 用量",IDC_CPU_USAGE_FRAME,5,5,60,54,WS_TABSTOP, WS_EX_TRANSPARENT
219     GROUPBOX        "内存用量",IDC_MEM_USAGE_FRAME,5,63,60,54,BS_LEFTTEXT, WS_EX_TRANSPARENT
220     GROUPBOX        "总共",IDC_TOTALS_FRAME,5,122,111,39,0,WS_EX_TRANSPARENT
221     GROUPBOX        "正在使用(K)",IDC_COMMIT_CHARGE_FRAME,5,166,111,39,0,WS_EX_TRANSPARENT
222     GROUPBOX        "实际内存(K)",IDC_PHYSICAL_MEMORY_FRAME,131,122,111,39,0,WS_EX_TRANSPARENT
223     GROUPBOX        "内核内存(K)",IDC_KERNEL_MEMORY_FRAME,131,166,111,39,0,WS_EX_TRANSPARENT
224     LTEXT           "指针数",IDS_TOTALS_HANDLE_COUNT,12,131,27,8
225     LTEXT           "线数",IDS_TOTALS_THREAD_COUNT,12,140,27,8
226     LTEXT           "进程数",IDS_TOTALS_PROCESS_COUNT,12,149,34,8
227     EDITTEXT        IDC_TOTALS_HANDLE_COUNT,65,131,45,8,ES_RIGHT |
228                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
229     EDITTEXT        IDC_TOTALS_THREAD_COUNT,65,140,45,8,ES_RIGHT |
230                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
231     EDITTEXT        IDC_TOTALS_PROCESS_COUNT,65,149,45,8,ES_RIGHT |
232                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
233     LTEXT           "总共",IDS_COMMIT_CHARGE_TOTAL,12,175,27,8
234     LTEXT           "限制",IDS_COMMIT_CHARGE_LIMIT,12,184,15,8
235     LTEXT           "最高",IDS_COMMIT_CHARGE_PEAK,12,193,34,8
236     EDITTEXT        IDC_COMMIT_CHARGE_TOTAL,65,174,45,8,ES_RIGHT |
237                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
238     EDITTEXT        IDC_COMMIT_CHARGE_LIMIT,65,184,45,8,ES_RIGHT |
239                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
240     EDITTEXT        IDC_COMMIT_CHARGE_PEAK,65,193,45,8,ES_RIGHT |
241                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
242     LTEXT           "总共",IDS_PHYSICAL_MEMORY_TOTAL,137,131,27,8
243     LTEXT           "可用",IDS_PHYSICAL_MEMORY_AVAILABLE,137,140,30,8
244     LTEXT           "系统缓存",IDS_PHYSICAL_MEMORY_SYSTEM_CACHE,137,149,46,8
245     EDITTEXT        IDC_PHYSICAL_MEMORY_TOTAL,185,131,48,8,ES_RIGHT |
246                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
247     EDITTEXT        IDC_PHYSICAL_MEMORY_AVAILABLE,185,140,48,8,ES_RIGHT |
248                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
249     EDITTEXT        IDC_PHYSICAL_MEMORY_SYSTEM_CACHE,185,149,48,8,ES_RIGHT |
250                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
251     LTEXT           "总共",IDS_KERNEL_MEMORY_TOTAL,137,174,27,8
252     LTEXT           "分页",IDS_KERNEL_MEMORY_PAGED,137,184,21,8
253     LTEXT           "未分页",IDS_KERNEL_MEMORY_NONPAGED,137,193,34,8
254     EDITTEXT        IDC_KERNEL_MEMORY_TOTAL,185,174,48,8,ES_RIGHT |
255                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
256     EDITTEXT        IDC_KERNEL_MEMORY_PAGED,185,184,48,8,ES_RIGHT |
257                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
258     EDITTEXT        IDC_KERNEL_MEMORY_NONPAGED,185,193,48,8,ES_RIGHT |
259                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
260     GROUPBOX        "CPU 用量历史",IDC_CPU_USAGE_HISTORY_FRAME,74,5,168,54,0,WS_EX_TRANSPARENT
261     GROUPBOX        "内存用量历史",IDC_MEMORY_USAGE_HISTORY_FRAME,74,63,168,54,0,WS_EX_TRANSPARENT
262     PUSHBUTTON      "CPU 用量显示",IDC_CPU_USAGE_GRAPH,12,17,47,37,0,
263                     WS_EX_CLIENTEDGE
264     PUSHBUTTON      "内存用量显Ê",IDC_MEM_USAGE_GRAPH,12,75,47,37,0,
265                     WS_EX_CLIENTEDGE
266     PUSHBUTTON      "CPU 用量历史",IDC_CPU_USAGE_HISTORY_GRAPH,81,17,
267                     153,37,0,WS_EX_CLIENTEDGE
268     PUSHBUTTON      "内存用量历史",IDC_MEM_USAGE_HISTORY_GRAPH,81,75,
269                     153,37,0,WS_EX_CLIENTEDGE
270 END
271
272 IDD_DEBUG_CHANNELS_DIALOG DIALOG DISCARDABLE  0, 0, 247, 210
273 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
274 CAPTION "调试频道"
275 FONT 9, "MS Shell Dlg"
276 BEGIN
277     CONTROL         "List2",IDC_DEBUG_CHANNELS_LIST,"SysListView32",LVS_REPORT |
278                     LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP |
279                     LVS_SORTASCENDING,7,7,233,177
280     PUSHBUTTON      "关闭",IDOK,171,189,69,14
281 END
282
283 IDD_AFFINITY_DIALOG DIALOG DISCARDABLE  0, 0, 231, 154
284 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
285 CAPTION "处理器亲和度"
286 FONT 9, "MS Shell Dlg"
287 BEGIN
288     DEFPUSHBUTTON   "确定",IDOK,120,133,50,14
289     PUSHBUTTON      "取消",IDCANCEL,174,133,50,14
290     LTEXT           "处理器亲和度设置控制各进程使用CPU分配情况.",
291                     IDC_STATIC,5,5,220,16
292     CONTROL         "CPU 0",IDC_CPU0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
293                     11,28,37,10
294     CONTROL         "CPU 1",IDC_CPU1,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
295                     WS_TABSTOP,11,41,37,10
296     CONTROL         "CPU 2",IDC_CPU2,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
297                     WS_TABSTOP,11,54,37,10
298     CONTROL         "CPU 3",IDC_CPU3,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
299                     WS_TABSTOP,11,67,37,10
300     CONTROL         "CPU 4",IDC_CPU4,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
301                     WS_TABSTOP,11,80,37,10
302     CONTROL         "CPU 5",IDC_CPU5,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
303                     WS_TABSTOP,11,93,37,10
304     CONTROL         "CPU 6",IDC_CPU6,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
305                     WS_TABSTOP,11,106,37,10
306     CONTROL         "CPU 7",IDC_CPU7,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
307                     WS_TABSTOP,11,119,37,10
308     CONTROL         "CPU 8",IDC_CPU8,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
309                     WS_TABSTOP,61,28,37,10
310     CONTROL         "CPU 9",IDC_CPU9,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
311                     WS_TABSTOP,61,41,37,10
312     CONTROL         "CPU 10",IDC_CPU10,"Button",BS_AUTOCHECKBOX |
313                     WS_DISABLED | WS_TABSTOP,61,54,41,10
314     CONTROL         "CPU 11",IDC_CPU11,"Button",BS_AUTOCHECKBOX |
315                     WS_DISABLED | WS_TABSTOP,61,67,41,10
316     CONTROL         "CPU 12",IDC_CPU12,"Button",BS_AUTOCHECKBOX |
317                     WS_DISABLED | WS_TABSTOP,61,80,41,10
318     CONTROL         "CPU 13",IDC_CPU13,"Button",BS_AUTOCHECKBOX |
319                     WS_DISABLED | WS_TABSTOP,61,93,41,10
320     CONTROL         "CPU 14",IDC_CPU14,"Button",BS_AUTOCHECKBOX |
321                     WS_DISABLED | WS_TABSTOP,61,106,41,10
322     CONTROL         "CPU 15",IDC_CPU15,"Button",BS_AUTOCHECKBOX |
323                     WS_DISABLED | WS_TABSTOP,61,119,41,10
324     CONTROL         "CPU 16",IDC_CPU16,"Button",BS_AUTOCHECKBOX |
325                     WS_DISABLED | WS_TABSTOP,116,28,41,10
326     CONTROL         "CPU 17",IDC_CPU17,"Button",BS_AUTOCHECKBOX |
327                     WS_DISABLED | WS_TABSTOP,116,41,41,10
328     CONTROL         "CPU 18",IDC_CPU18,"Button",BS_AUTOCHECKBOX |
329                     WS_DISABLED | WS_TABSTOP,116,54,41,10
330     CONTROL         "CPU 19",IDC_CPU19,"Button",BS_AUTOCHECKBOX |
331                     WS_DISABLED | WS_TABSTOP,116,67,41,10
332     CONTROL         "CPU 20",IDC_CPU20,"Button",BS_AUTOCHECKBOX |
333                     WS_DISABLED | WS_TABSTOP,116,80,41,10
334     CONTROL         "CPU 21",IDC_CPU21,"Button",BS_AUTOCHECKBOX |
335                     WS_DISABLED | WS_TABSTOP,116,93,41,10
336     CONTROL         "CPU 22",IDC_CPU22,"Button",BS_AUTOCHECKBOX |
337                     WS_DISABLED | WS_TABSTOP,116,106,41,10
338     CONTROL         "CPU 23",IDC_CPU23,"Button",BS_AUTOCHECKBOX |
339                     WS_DISABLED | WS_TABSTOP,116,119,41,10
340     CONTROL         "CPU 24",IDC_CPU24,"Button",BS_AUTOCHECKBOX |
341                     WS_DISABLED | WS_TABSTOP,175,28,41,10
342     CONTROL         "CPU 25",IDC_CPU25,"Button",BS_AUTOCHECKBOX |
343                     WS_DISABLED | WS_TABSTOP,175,41,41,10
344     CONTROL         "CPU 26",IDC_CPU26,"Button",BS_AUTOCHECKBOX |
345                     WS_DISABLED | WS_TABSTOP,175,54,41,10
346     CONTROL         "CPU 27",IDC_CPU27,"Button",BS_AUTOCHECKBOX |
347                     WS_DISABLED | WS_TABSTOP,175,67,41,10
348     CONTROL         "CPU 28",IDC_CPU28,"Button",BS_AUTOCHECKBOX |
349                     WS_DISABLED | WS_TABSTOP,175,80,41,10
350     CONTROL         "CPU 29",IDC_CPU29,"Button",BS_AUTOCHECKBOX |
351                     WS_DISABLED | WS_TABSTOP,175,93,41,10
352     CONTROL         "CPU 30",IDC_CPU30,"Button",BS_AUTOCHECKBOX |
353                     WS_DISABLED | WS_TABSTOP,175,106,41,10
354     CONTROL         "CPU 31",IDC_CPU31,"Button",BS_AUTOCHECKBOX |
355                     WS_DISABLED | WS_TABSTOP,175,119,41,10
356 END
357
358 IDD_COLUMNS_DIALOG DIALOG DISCARDABLE  0, 0, 195, 199
359 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
360 CAPTION "选择显示内容"
361 FONT 9, "MS Shell Dlg"
362 BEGIN
363     DEFPUSHBUTTON   "确定",IDOK,84,178,50,14
364     PUSHBUTTON      "取消",IDCANCEL,138,178,50,14
365     LTEXT           "请选择任务管理器中进程分页的显示内容.",
366                     IDC_STATIC,7,7,181,17
367     CONTROL         "程序名称(&I)",IDC_IMAGENAME,"Button",BS_AUTOCHECKBOX |
368                     WS_DISABLED | WS_TABSTOP,7,28,56,10
369     CONTROL         "&PID (进程编号)",IDC_PID,"Button",
370                     BS_AUTOCHECKBOX | WS_TABSTOP,7,39,88,10
371     CONTROL         "&CPU 用量",IDC_CPUUSAGE,"Button",BS_AUTOCHECKBOX |
372                     WS_TABSTOP,7,50,53,10
373     CONTROL         "CPU 时间(&T)",IDC_CPUTIME,"Button",BS_AUTOCHECKBOX |
374                     WS_TABSTOP,7,61,48,10
375     CONTROL         "内存用量(&M)",IDC_MEMORYUSAGE,"Button",BS_AUTOCHECKBOX |
376                     WS_TABSTOP,7,72,63,10
377     CONTROL         "内存用量差(&D)",IDC_MEMORYUSAGEDELTA,"Button",
378                     BS_AUTOCHECKBOX | WS_TABSTOP,7,83,82,10
379     CONTROL         "最高内存用(&K)",IDC_PEAKMEMORYUSAGE,"Button",
380                     BS_AUTOCHECKBOX | WS_TABSTOP,7,94,82,10
381     CONTROL         "页故障数(&F)",IDC_PAGEFAULTS,"Button",BS_AUTOCHECKBOX |
382                     WS_TABSTOP,7,105,53,10
383     CONTROL         "用户对象(&U)",IDC_USEROBJECTS,"Button",BS_AUTOCHECKBOX |
384                     WS_TABSTOP,7,116,62,10
385     CONTROL         "I/O 读取数",IDC_IOREADS,"Button",BS_AUTOCHECKBOX |
386                     WS_TABSTOP,7,127,49,10
387     CONTROL         "I/O 读取量",IDC_IOREADBYTES,"Button",
388                     BS_AUTOCHECKBOX | WS_TABSTOP,7,138,65,10
389     CONTROL         "&Session ID",IDC_SESSIONID,"Button",BS_AUTOCHECKBOX |
390                     WS_TABSTOP,7,149,50,10
391     CONTROL         "用户名(&N)",IDC_USERNAME,"Button",BS_AUTOCHECKBOX |
392                     WS_TABSTOP,7,160,51,10
393     CONTROL         "页故障差(&A)",IDC_PAGEFAULTSDELTA,"Button",
394                     BS_AUTOCHECKBOX | WS_TABSTOP,107,28,72,10
395     CONTROL         "虚拟内存大小(&V)",IDC_VIRTUALMEMORYSIZE,"Button",
396                     BS_AUTOCHECKBOX | WS_TABSTOP,107,39,77,10
397     CONTROL         "Pa&ged Pool",IDC_PAGEDPOOL,"Button",BS_AUTOCHECKBOX |
398                     WS_TABSTOP,107,50,53,10
399     CONTROL         "N&on-paged Pool",IDC_NONPAGEDPOOL,"Button",
400                     BS_AUTOCHECKBOX | WS_TABSTOP,107,61,67,10
401     CONTROL         "基本优先权(&R)",IDC_BASEPRIORITY,"Button",
402                     BS_AUTOCHECKBOX | WS_TABSTOP,107,72,55,10
403     CONTROL         "指针数(&H)",IDC_HANDLECOUNT,"Button",BS_AUTOCHECKBOX |
404                     WS_TABSTOP,107,83,59,10
405     CONTROL         "线数(&T)",IDC_THREADCOUNT,"Button",BS_AUTOCHECKBOX |
406                     WS_TABSTOP,107,94,59,10
407     CONTROL         "GDI 对象",IDC_GDIOBJECTS,"Button",BS_AUTOCHECKBOX |
408                     WS_TABSTOP,107,105,55,10
409     CONTROL         "I/O 写盘数",IDC_IOWRITES,"Button",BS_AUTOCHECKBOX |
410                     WS_TABSTOP,107,116,49,10
411     CONTROL         "I/O 写盘量",IDC_IOWRITEBYTES,"Button",
412                     BS_AUTOCHECKBOX | WS_TABSTOP,107,127,65,10
413     CONTROL         "I/O 其他数",IDC_IOOTHER,"Button",BS_AUTOCHECKBOX |
414                     WS_TABSTOP,107,138,46,10
415     CONTROL         "I/O 其他量",IDC_IOOTHERBYTES,"Button",
416                     BS_AUTOCHECKBOX | WS_TABSTOP,107,149,65,10
417 END
418
419 /*
420  String Table
421 */
422
423 STRINGTABLE DISCARDABLE
424 BEGIN
425     IDS_APP_TITLE           "任务管理器"
426     IDC_TASKMGR             "任务管理器"
427     IDS_RUNDLG_CAPTION      "产生新任务"
428 END
429
430 STRINGTABLE DISCARDABLE
431 BEGIN
432     ID_FILE_NEW             "运行新任务"
433     ID_OPTIONS_ALWAYSONTOP  "任务管理器总是在其他视窗的最上面,除非是最小化"
434     ID_OPTIONS_MINIMIZEONUSE "任务管理器使用时最小化"
435     ID_OPTIONS_HIDEWHENMINIMIZED "最小化时隐藏任务管理器"
436     ID_VIEW_REFRESH         "强制任务管理器更新显示,不管设置的是什么速度"
437     ID_VIEW_LARGE           "用大图标显示任务"
438     ID_VIEW_SMALL           "用小图标显示任务"
439     ID_VIEW_DETAILS         "显示每个任务的详细内容"
440     ID_VIEW_UPDATESPEED_HIGH "每秒更新显示两次"
441     ID_VIEW_UPDATESPEED_NORMAL "每两秒更新显示一次"
442     ID_VIEW_UPDATESPEED_LOW "每四秒更新显示一次"
443 END
444
445 STRINGTABLE DISCARDABLE
446 BEGIN
447     ID_VIEW_UPDATESPEED_PAUSED "不会自动更新"
448     ID_WINDOWS_TILEHORIZONTALLY "在桌面上将所有视窗横向平铺"
449     ID_WINDOWS_TILEVERTICALLY   "在桌面上将所有视窗纵向平铺"
450     ID_WINDOWS_MINIMIZE     "视窗最小化"
451     ID_WINDOWS_MAXIMIZE     "视窗最大化"
452     ID_WINDOWS_CASCADE      "在桌面上按对角线将视窗叠放"
453     ID_WINDOWS_BRINGTOFRONT "将视窗调到最前面,但不激活"
454     ID_HELP_TOPICS          "显示任务管理器帮助内容"
455     ID_HELP_ABOUT           "显示本程序信息,版本及版权"
456     ID_FILE_EXIT            "退出任务管理器"
457     ID_OPTIONS_SHOW16BITTASKS         "显示 16-位任务及有关的ntvdm.exe"
458     ID_VIEW_SELECTCOLUMNS             "选择在进程分页的显示内容"
459     ID_VIEW_SHOWKERNELTIMES           "在性能图上显示内核使用时间"
460     ID_VIEW_CPUHISTORY_ONEGRAPHALL    "一张历史图显示所有CPU用量"
461     ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU "每一个CPU有自己的历史图"
462     ID_APPLICATION_PAGE_SWITCHTO      "将任务设为当前任务,并激活"
463 END
464
465 STRINGTABLE DISCARDABLE
466 BEGIN
467     ID_ENDTASK              "通知当前选中的任务关闭"
468     ID_GOTOPROCESS          "将焦点转到当前选中的任务"
469     ID_RESTORE              "取消任务管理器隐藏状态"
470     ID_PROCESS_PAGE_ENDPROCESS     "将进程从系统中删除"
471     ID_PROCESS_PAGE_ENDPROCESSTREE "将进程及其附属进程从系统中删除"
472     ID_PROCESS_PAGE_DEBUG          "将调试器接到本进程"
473     ID_PROCESS_PAGE_SETAFFINITY    "控制各进程使用那个处理器"
474     ID_PROCESS_PAGE_SETPRIORITY_REALTIME    "将进程设为实时优先级"
475     ID_PROCESS_PAGE_SETPRIORITY_HIGH        "将进程设为高优先级"
476     ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL "将进程设为中等以上优先级"
477     ID_PROCESS_PAGE_SETPRIORITY_NORMAL      "将进程设为中等优先级"
478     ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL "将进程设为中等以下优先级"
479     ID_PROCESS_PAGE_SETPRIORITY_LOW          "将进程设为低优先级"
480 END
481
482 LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
483
484 /*
485  Menu
486 */
487
488 IDR_TASKMANAGER MENU DISCARDABLE
489 BEGIN
490     POPUP "檔案(&F)"
491     BEGIN
492         MENUITEM "新任務(&N)...", ID_FILE_NEW
493         MENUITEM SEPARATOR
494         MENUITEM "結束任務管理器(&X)", ID_FILE_EXIT
495     END
496     POPUP "選項(&O)"
497     BEGIN
498         MENUITEM "總是在最上面(&A)", ID_OPTIONS_ALWAYSONTOP
499         , CHECKED
500         MENUITEM "啟動後最小化(&M)", ID_OPTIONS_MINIMIZEONUSE
501         , CHECKED
502         MENUITEM "最小化時隱藏(&H)", ID_OPTIONS_HIDEWHENMINIMIZED
503         , CHECKED
504         MENUITEM "顯示16位任務(&S)", ID_OPTIONS_SHOW16BITTASKS
505         , CHECKED
506     END
507     POPUP "檢視(&V)"
508     BEGIN
509         MENUITEM "刷新(&R)", ID_VIEW_REFRESH
510         POPUP "更新速度(&U)"
511         BEGIN
512             MENUITEM "快(&H)", ID_VIEW_UPDATESPEED_HIGH
513             MENUITEM "正常(&N)", ID_VIEW_UPDATESPEED_NORMAL
514             , CHECKED
515             MENUITEM "慢(&L)", ID_VIEW_UPDATESPEED_LOW
516             MENUITEM "暫停(&P)", ID_VIEW_UPDATESPEED_PAUSED
517
518         END
519         MENUITEM SEPARATOR
520         MENUITEM "大圖標(&G)", ID_VIEW_LARGE
521         MENUITEM "小圖標(&M)", ID_VIEW_SMALL
522         MENUITEM "詳情列表(&D)", ID_VIEW_DETAILS, CHECKED
523         MENUITEM "選擇內容(&S)...", ID_VIEW_SELECTCOLUMNS
524         POPUP "&CPU 歷史"
525         BEGIN
526             MENUITEM "一張圖顯示所有的 &CPU", ID_VIEW_CPUHISTORY_ONEGRAPHALL
527
528             MENUITEM "每一個 C&PU 各一張圖", ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU
529             , CHECKED
530         END
531         MENUITEM "顯示內核時間(&S)", ID_VIEW_SHOWKERNELTIMES
532     END
533     POPUP "視窗(&W)"
534     BEGIN
535         MENUITEM "橫向平鋪(&H)", ID_WINDOWS_TILEHORIZONTALLY
536         MENUITEM "縱向平鋪(&V)", ID_WINDOWS_TILEVERTICALLY
537         MENUITEM "最小化(&M)", ID_WINDOWS_MINIMIZE
538         MENUITEM "最大化(&X)", ID_WINDOWS_MAXIMIZE
539         MENUITEM "層疊(&C)", ID_WINDOWS_CASCADE
540         MENUITEM "移到最前面(&B)", ID_WINDOWS_BRINGTOFRONT
541     END
542     POPUP "幫助(&H)"
543     BEGIN
544         MENUITEM "幫助內容(&H)", ID_HELP_TOPICS
545         MENUITEM SEPARATOR
546         MENUITEM "關於任務管理器(&A)", ID_HELP_ABOUT
547     END
548 END
549
550 IDR_WINDOWSMENU MENU DISCARDABLE
551 BEGIN
552     MENUITEM "橫向平鋪(&H)", ID_WINDOWS_TILEHORIZONTALLY
553     MENUITEM "縱向平鋪(&V)", ID_WINDOWS_TILEVERTICALLY
554     MENUITEM "最小化(&M)", ID_WINDOWS_MINIMIZE
555     MENUITEM "最大化(&X)", ID_WINDOWS_MAXIMIZE
556     MENUITEM "層疊(&C)", ID_WINDOWS_CASCADE
557     MENUITEM "移到最前面(&B)", ID_WINDOWS_BRINGTOFRONT
558 END
559
560 IDR_APPLICATION_PAGE_CONTEXT1 MENU DISCARDABLE
561 BEGIN
562     POPUP "DUMMY"
563     BEGIN
564         MENUITEM "新任務(&N)...", ID_FILE_NEW
565         MENUITEM SEPARATOR
566         MENUITEM "大圖標(&G)", ID_VIEW_LARGE
567         MENUITEM "小圖標(&M)", ID_VIEW_SMALL
568         MENUITEM "詳情列表(&D)", ID_VIEW_DETAILS, CHECKED
569     END
570 END
571
572 IDR_APPLICATION_PAGE_CONTEXT2 MENU DISCARDABLE
573 BEGIN
574     POPUP "DUMMY"
575     BEGIN
576         MENUITEM "轉到(&S)", ID_APPLICATION_PAGE_SWITCHTO
577         MENUITEM "移到最前面(&B)", ID_WINDOWS_BRINGTOFRONT
578         MENUITEM SEPARATOR
579         MENUITEM "橫向平鋪(&H)", ID_WINDOWS_TILEHORIZONTALLY
580         MENUITEM "縱向平鋪(&V)", ID_WINDOWS_TILEVERTICALLY
581         MENUITEM "最小化(&M)", ID_WINDOWS_MINIMIZE
582         MENUITEM "最大化(&X)", ID_WINDOWS_MAXIMIZE
583         MENUITEM "層疊(&C)", ID_WINDOWS_CASCADE
584         MENUITEM SEPARATOR
585         MENUITEM "結束任務(&E)", ID_APPLICATION_PAGE_ENDTASK
586         MENUITEM "轉此進程(&G)", ID_APPLICATION_PAGE_GOTOPROCESS
587     END
588 END
589
590 IDR_TRAY_POPUP MENU DISCARDABLE
591 BEGIN
592     POPUP "DUMMY"
593     BEGIN
594         MENUITEM "復原(&R)", ID_RESTORE
595         MENUITEM "關閉(&C)", ID_FILE_EXIT
596         MENUITEM SEPARATOR
597         MENUITEM "總是在最上面(&A)", ID_OPTIONS_ALWAYSONTOP
598     END
599 END
600
601 IDR_PROCESS_PAGE_CONTEXT MENU DISCARDABLE
602 BEGIN
603     POPUP "DUMMY"
604     BEGIN
605         MENUITEM "結束進程(&E)", ID_PROCESS_PAGE_ENDPROCESS
606         MENUITEM "結束進程樹(&T)", ID_PROCESS_PAGE_ENDPROCESSTREE
607
608         MENUITEM "調試(&D)", ID_PROCESS_PAGE_DEBUG
609         MENUITEM SEPARATOR
610         POPUP "優先權指定(&P)"
611         BEGIN
612             MENUITEM "實時(&R)", ID_PROCESS_PAGE_SETPRIORITY_REALTIME
613
614             MENUITEM "高(&H)", ID_PROCESS_PAGE_SETPRIORITY_HIGH
615
616             MENUITEM "正常以上(&A)", ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL
617
618             MENUITEM "正常(&N)", ID_PROCESS_PAGE_SETPRIORITY_NORMAL
619
620             MENUITEM "正常以下(&B)", ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL
621
622             MENUITEM "低(&L)", ID_PROCESS_PAGE_SETPRIORITY_LOW
623
624         END
625         MENUITEM "親和度指定(&A)...", ID_PROCESS_PAGE_SETAFFINITY
626         MENUITEM "編輯調試頻道(&C)...", ID_PROCESS_PAGE_DEBUGCHANNELS
627     END
628 END
629
630 /*
631  Dialog
632 */
633
634 IDD_TASKMGR_DIALOG DIALOG DISCARDABLE  0, 0, 264, 246
635 STYLE DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP |
636     WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU |
637     WS_THICKFRAME
638 CAPTION "任務管理器"
639 MENU IDR_TASKMANAGER
640 FONT 9, "MS Shell Dlg"
641 BEGIN
642     CONTROL         "Tab1",IDC_TAB,"SysTabControl32",WS_TABSTOP,3,3,257,228
643 END
644
645 IDD_APPLICATION_PAGE DIALOG DISCARDABLE  0, 0, 247, 210
646 STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
647 FONT 9, "MS Shell Dlg"
648 BEGIN
649     CONTROL         "List2",IDC_APPLIST,"SysListView32",LVS_REPORT |
650                     LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,7,7,233,177
651     PUSHBUTTON      "新任務(&N)...",IDC_NEWTASK,187,189,53,14
652     PUSHBUTTON      "轉到(&S)",IDC_SWITCHTO,131,189,53,14,WS_DISABLED
653     PUSHBUTTON      "結束任務(&E)",IDC_ENDTASK,75,189,53,14,WS_DISABLED
654 END
655
656 IDD_PROCESS_PAGE DIALOG DISCARDABLE  0, 0, 247, 210
657 STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
658 FONT 9, "MS Shell Dlg"
659 BEGIN
660     CONTROL         "List2",IDC_PROCESSLIST,"SysListView32",LVS_REPORT |
661                     LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_OWNERDATA |
662                     WS_BORDER | WS_TABSTOP,7,7,233,177
663     PUSHBUTTON      "結束進程(&E)",IDC_ENDPROCESS,171,189,69,14
664     CONTROL         "顯示所有用戶進程(&S)",IDC_SHOWALLPROCESSES,
665                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,191,111,10
666 END
667
668 /*IDD_PERFORMANCE_PAGE DIALOGEX 0, 0, 247, 210*/
669 IDD_PERFORMANCE_PAGE DIALOGEX DISCARDABLE  0, 0, 247, 210
670 STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
671 FONT 9, "MS Shell Dlg"
672 BEGIN
673     GROUPBOX        "CPU 用量",IDC_CPU_USAGE_FRAME,5,5,60,54,WS_TABSTOP, WS_EX_TRANSPARENT
674     GROUPBOX        "內存用量",IDC_MEM_USAGE_FRAME,5,63,60,54,BS_LEFTTEXT, WS_EX_TRANSPARENT
675     GROUPBOX        "總共",IDC_TOTALS_FRAME,5,122,111,39,0,WS_EX_TRANSPARENT
676     GROUPBOX        "正在使用(K)",IDC_COMMIT_CHARGE_FRAME,5,166,111,39,0,WS_EX_TRANSPARENT
677     GROUPBOX        "實際內存(K)",IDC_PHYSICAL_MEMORY_FRAME,131,122,111,39,0,WS_EX_TRANSPARENT
678     GROUPBOX        "內核內存(K)",IDC_KERNEL_MEMORY_FRAME,131,166,111,39,0,WS_EX_TRANSPARENT
679     LTEXT           "指針數",IDS_TOTALS_HANDLE_COUNT,12,131,27,8
680     LTEXT           "線數",IDS_TOTALS_THREAD_COUNT,12,140,27,8
681     LTEXT           "進程數",IDS_TOTALS_PROCESS_COUNT,12,149,34,8
682     EDITTEXT        IDC_TOTALS_HANDLE_COUNT,65,131,45,8,ES_RIGHT |
683                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
684     EDITTEXT        IDC_TOTALS_THREAD_COUNT,65,140,45,8,ES_RIGHT |
685                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
686     EDITTEXT        IDC_TOTALS_PROCESS_COUNT,65,149,45,8,ES_RIGHT |
687                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
688     LTEXT           "總共",IDS_COMMIT_CHARGE_TOTAL,12,175,27,8
689     LTEXT           "限制",IDS_COMMIT_CHARGE_LIMIT,12,184,15,8
690     LTEXT           "最高",IDS_COMMIT_CHARGE_PEAK,12,193,34,8
691     EDITTEXT        IDC_COMMIT_CHARGE_TOTAL,65,174,45,8,ES_RIGHT |
692                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
693     EDITTEXT        IDC_COMMIT_CHARGE_LIMIT,65,184,45,8,ES_RIGHT |
694                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
695     EDITTEXT        IDC_COMMIT_CHARGE_PEAK,65,193,45,8,ES_RIGHT |
696                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
697     LTEXT           "總共",IDS_PHYSICAL_MEMORY_TOTAL,137,131,27,8
698     LTEXT           "可用",IDS_PHYSICAL_MEMORY_AVAILABLE,137,140,30,8
699     LTEXT           "系統緩存",IDS_PHYSICAL_MEMORY_SYSTEM_CACHE,137,149,46,8
700     EDITTEXT        IDC_PHYSICAL_MEMORY_TOTAL,185,131,48,8,ES_RIGHT |
701                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
702     EDITTEXT        IDC_PHYSICAL_MEMORY_AVAILABLE,185,140,48,8,ES_RIGHT |
703                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
704     EDITTEXT        IDC_PHYSICAL_MEMORY_SYSTEM_CACHE,185,149,48,8,ES_RIGHT |
705                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
706     LTEXT           "總共",IDS_KERNEL_MEMORY_TOTAL,137,174,27,8
707     LTEXT           "分頁",IDS_KERNEL_MEMORY_PAGED,137,184,21,8
708     LTEXT           "未分頁",IDS_KERNEL_MEMORY_NONPAGED,137,193,34,8
709     EDITTEXT        IDC_KERNEL_MEMORY_TOTAL,185,174,48,8,ES_RIGHT |
710                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
711     EDITTEXT        IDC_KERNEL_MEMORY_PAGED,185,184,48,8,ES_RIGHT |
712                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
713     EDITTEXT        IDC_KERNEL_MEMORY_NONPAGED,185,193,48,8,ES_RIGHT |
714                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
715     GROUPBOX        "CPU 用量歷史",IDC_CPU_USAGE_HISTORY_FRAME,74,5,168,54,0,WS_EX_TRANSPARENT
716     GROUPBOX        "內存用量歷史",IDC_MEMORY_USAGE_HISTORY_FRAME,74,63,168,54,0,WS_EX_TRANSPARENT
717     PUSHBUTTON      "CPU 用量顯示",IDC_CPU_USAGE_GRAPH,12,17,47,37,0,
718                     WS_EX_CLIENTEDGE
719     PUSHBUTTON      "內存用量顯□",IDC_MEM_USAGE_GRAPH,12,75,47,37,0,
720                     WS_EX_CLIENTEDGE
721     PUSHBUTTON      "CPU 用量歷史",IDC_CPU_USAGE_HISTORY_GRAPH,81,17,
722                     153,37,0,WS_EX_CLIENTEDGE
723     PUSHBUTTON      "內存用量歷史",IDC_MEM_USAGE_HISTORY_GRAPH,81,75,
724                     153,37,0,WS_EX_CLIENTEDGE
725 END
726
727 IDD_DEBUG_CHANNELS_DIALOG DIALOG DISCARDABLE  0, 0, 247, 210
728 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
729 CAPTION "調試頻道"
730 FONT 9, "MS Shell Dlg"
731 BEGIN
732     CONTROL         "List2",IDC_DEBUG_CHANNELS_LIST,"SysListView32",LVS_REPORT |
733                     LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP |
734                     LVS_SORTASCENDING,7,7,233,177
735     PUSHBUTTON      "關閉",IDOK,171,189,69,14
736 END
737
738 IDD_AFFINITY_DIALOG DIALOG DISCARDABLE  0, 0, 231, 154
739 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
740 CAPTION "處理器親和度"
741 FONT 9, "MS Shell Dlg"
742 BEGIN
743     DEFPUSHBUTTON   "確定",IDOK,120,133,50,14
744     PUSHBUTTON      "取消",IDCANCEL,174,133,50,14
745     LTEXT           "處理器親和度設定控制各進程使用CPU分配情況.",
746                     IDC_STATIC,5,5,220,16
747     CONTROL         "CPU 0",IDC_CPU0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
748                     11,28,37,10
749     CONTROL         "CPU 1",IDC_CPU1,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
750                     WS_TABSTOP,11,41,37,10
751     CONTROL         "CPU 2",IDC_CPU2,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
752                     WS_TABSTOP,11,54,37,10
753     CONTROL         "CPU 3",IDC_CPU3,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
754                     WS_TABSTOP,11,67,37,10
755     CONTROL         "CPU 4",IDC_CPU4,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
756                     WS_TABSTOP,11,80,37,10
757     CONTROL         "CPU 5",IDC_CPU5,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
758                     WS_TABSTOP,11,93,37,10
759     CONTROL         "CPU 6",IDC_CPU6,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
760                     WS_TABSTOP,11,106,37,10
761     CONTROL         "CPU 7",IDC_CPU7,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
762                     WS_TABSTOP,11,119,37,10
763     CONTROL         "CPU 8",IDC_CPU8,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
764                     WS_TABSTOP,61,28,37,10
765     CONTROL         "CPU 9",IDC_CPU9,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
766                     WS_TABSTOP,61,41,37,10
767     CONTROL         "CPU 10",IDC_CPU10,"Button",BS_AUTOCHECKBOX |
768                     WS_DISABLED | WS_TABSTOP,61,54,41,10
769     CONTROL         "CPU 11",IDC_CPU11,"Button",BS_AUTOCHECKBOX |
770                     WS_DISABLED | WS_TABSTOP,61,67,41,10
771     CONTROL         "CPU 12",IDC_CPU12,"Button",BS_AUTOCHECKBOX |
772                     WS_DISABLED | WS_TABSTOP,61,80,41,10
773     CONTROL         "CPU 13",IDC_CPU13,"Button",BS_AUTOCHECKBOX |
774                     WS_DISABLED | WS_TABSTOP,61,93,41,10
775     CONTROL         "CPU 14",IDC_CPU14,"Button",BS_AUTOCHECKBOX |
776                     WS_DISABLED | WS_TABSTOP,61,106,41,10
777     CONTROL         "CPU 15",IDC_CPU15,"Button",BS_AUTOCHECKBOX |
778                     WS_DISABLED | WS_TABSTOP,61,119,41,10
779     CONTROL         "CPU 16",IDC_CPU16,"Button",BS_AUTOCHECKBOX |
780                     WS_DISABLED | WS_TABSTOP,116,28,41,10
781     CONTROL         "CPU 17",IDC_CPU17,"Button",BS_AUTOCHECKBOX |
782                     WS_DISABLED | WS_TABSTOP,116,41,41,10
783     CONTROL         "CPU 18",IDC_CPU18,"Button",BS_AUTOCHECKBOX |
784                     WS_DISABLED | WS_TABSTOP,116,54,41,10
785     CONTROL         "CPU 19",IDC_CPU19,"Button",BS_AUTOCHECKBOX |
786                     WS_DISABLED | WS_TABSTOP,116,67,41,10
787     CONTROL         "CPU 20",IDC_CPU20,"Button",BS_AUTOCHECKBOX |
788                     WS_DISABLED | WS_TABSTOP,116,80,41,10
789     CONTROL         "CPU 21",IDC_CPU21,"Button",BS_AUTOCHECKBOX |
790                     WS_DISABLED | WS_TABSTOP,116,93,41,10
791     CONTROL         "CPU 22",IDC_CPU22,"Button",BS_AUTOCHECKBOX |
792                     WS_DISABLED | WS_TABSTOP,116,106,41,10
793     CONTROL         "CPU 23",IDC_CPU23,"Button",BS_AUTOCHECKBOX |
794                     WS_DISABLED | WS_TABSTOP,116,119,41,10
795     CONTROL         "CPU 24",IDC_CPU24,"Button",BS_AUTOCHECKBOX |
796                     WS_DISABLED | WS_TABSTOP,175,28,41,10
797     CONTROL         "CPU 25",IDC_CPU25,"Button",BS_AUTOCHECKBOX |
798                     WS_DISABLED | WS_TABSTOP,175,41,41,10
799     CONTROL         "CPU 26",IDC_CPU26,"Button",BS_AUTOCHECKBOX |
800                     WS_DISABLED | WS_TABSTOP,175,54,41,10
801     CONTROL         "CPU 27",IDC_CPU27,"Button",BS_AUTOCHECKBOX |
802                     WS_DISABLED | WS_TABSTOP,175,67,41,10
803     CONTROL         "CPU 28",IDC_CPU28,"Button",BS_AUTOCHECKBOX |
804                     WS_DISABLED | WS_TABSTOP,175,80,41,10
805     CONTROL         "CPU 29",IDC_CPU29,"Button",BS_AUTOCHECKBOX |
806                     WS_DISABLED | WS_TABSTOP,175,93,41,10
807     CONTROL         "CPU 30",IDC_CPU30,"Button",BS_AUTOCHECKBOX |
808                     WS_DISABLED | WS_TABSTOP,175,106,41,10
809     CONTROL         "CPU 31",IDC_CPU31,"Button",BS_AUTOCHECKBOX |
810                     WS_DISABLED | WS_TABSTOP,175,119,41,10
811 END
812
813 IDD_COLUMNS_DIALOG DIALOG DISCARDABLE  0, 0, 195, 199
814 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
815 CAPTION "選擇顯示內容"
816 FONT 9, "MS Shell Dlg"
817 BEGIN
818     DEFPUSHBUTTON   "確定",IDOK,84,178,50,14
819     PUSHBUTTON      "取消",IDCANCEL,138,178,50,14
820     LTEXT           "請選擇任務管理器中進程分頁的顯示內容.",
821                     IDC_STATIC,7,7,181,17
822     CONTROL         "程式名稱(&I)",IDC_IMAGENAME,"Button",BS_AUTOCHECKBOX |
823                     WS_DISABLED | WS_TABSTOP,7,28,56,10
824     CONTROL         "&PID (進程編號)",IDC_PID,"Button",
825                     BS_AUTOCHECKBOX | WS_TABSTOP,7,39,88,10
826     CONTROL         "&CPU 用量",IDC_CPUUSAGE,"Button",BS_AUTOCHECKBOX |
827                     WS_TABSTOP,7,50,53,10
828     CONTROL         "CPU 時間(&T)",IDC_CPUTIME,"Button",BS_AUTOCHECKBOX |
829                     WS_TABSTOP,7,61,48,10
830     CONTROL         "內存用量(&M)",IDC_MEMORYUSAGE,"Button",BS_AUTOCHECKBOX |
831                     WS_TABSTOP,7,72,63,10
832     CONTROL         "內存用量差(&D)",IDC_MEMORYUSAGEDELTA,"Button",
833                     BS_AUTOCHECKBOX | WS_TABSTOP,7,83,82,10
834     CONTROL         "最高內存用(&K)",IDC_PEAKMEMORYUSAGE,"Button",
835                     BS_AUTOCHECKBOX | WS_TABSTOP,7,94,82,10
836     CONTROL         "頁故障數(&F)",IDC_PAGEFAULTS,"Button",BS_AUTOCHECKBOX |
837                     WS_TABSTOP,7,105,53,10
838     CONTROL         "用戶對象(&U)",IDC_USEROBJECTS,"Button",BS_AUTOCHECKBOX |
839                     WS_TABSTOP,7,116,62,10
840     CONTROL         "I/O 讀取數",IDC_IOREADS,"Button",BS_AUTOCHECKBOX |
841                     WS_TABSTOP,7,127,49,10
842     CONTROL         "I/O 讀取量",IDC_IOREADBYTES,"Button",
843                     BS_AUTOCHECKBOX | WS_TABSTOP,7,138,65,10
844     CONTROL         "&Session ID",IDC_SESSIONID,"Button",BS_AUTOCHECKBOX |
845                     WS_TABSTOP,7,149,50,10
846     CONTROL         "用戶名(&N)",IDC_USERNAME,"Button",BS_AUTOCHECKBOX |
847                     WS_TABSTOP,7,160,51,10
848     CONTROL         "頁故障差(&A)",IDC_PAGEFAULTSDELTA,"Button",
849                     BS_AUTOCHECKBOX | WS_TABSTOP,107,28,72,10
850     CONTROL         "虛擬內存大小(&V)",IDC_VIRTUALMEMORYSIZE,"Button",
851                     BS_AUTOCHECKBOX | WS_TABSTOP,107,39,77,10
852     CONTROL         "Pa&ged Pool",IDC_PAGEDPOOL,"Button",BS_AUTOCHECKBOX |
853                     WS_TABSTOP,107,50,53,10
854     CONTROL         "N&on-paged Pool",IDC_NONPAGEDPOOL,"Button",
855                     BS_AUTOCHECKBOX | WS_TABSTOP,107,61,67,10
856     CONTROL         "基本優先權(&R)",IDC_BASEPRIORITY,"Button",
857                     BS_AUTOCHECKBOX | WS_TABSTOP,107,72,55,10
858     CONTROL         "指針數(&H)",IDC_HANDLECOUNT,"Button",BS_AUTOCHECKBOX |
859                     WS_TABSTOP,107,83,59,10
860     CONTROL         "線數(&T)",IDC_THREADCOUNT,"Button",BS_AUTOCHECKBOX |
861                     WS_TABSTOP,107,94,59,10
862     CONTROL         "GDI 對象",IDC_GDIOBJECTS,"Button",BS_AUTOCHECKBOX |
863                     WS_TABSTOP,107,105,55,10
864     CONTROL         "I/O 寫盤數",IDC_IOWRITES,"Button",BS_AUTOCHECKBOX |
865                     WS_TABSTOP,107,116,49,10
866     CONTROL         "I/O 寫盤量",IDC_IOWRITEBYTES,"Button",
867                     BS_AUTOCHECKBOX | WS_TABSTOP,107,127,65,10
868     CONTROL         "I/O 其他數",IDC_IOOTHER,"Button",BS_AUTOCHECKBOX |
869                     WS_TABSTOP,107,138,46,10
870     CONTROL         "I/O 其他量",IDC_IOOTHERBYTES,"Button",
871                     BS_AUTOCHECKBOX | WS_TABSTOP,107,149,65,10
872 END
873
874 /*
875  String Table
876 */
877
878 STRINGTABLE DISCARDABLE
879 BEGIN
880     IDS_APP_TITLE           "任務管理器"
881     IDC_TASKMGR             "任務管理器"
882     IDS_RUNDLG_CAPTION      "產生新任務"
883 END
884
885 STRINGTABLE DISCARDABLE
886 BEGIN
887     ID_FILE_NEW             "執行新任務"
888     ID_OPTIONS_ALWAYSONTOP  "任務管理器總是在其他視窗的最上面,除非是最小化"
889     ID_OPTIONS_MINIMIZEONUSE "任務管理器使用時最小化"
890     ID_OPTIONS_HIDEWHENMINIMIZED "最小化時隱藏任務管理器"
891     ID_VIEW_REFRESH         "強制任務管理器更新顯示,不管設定的是什麼速度"
892     ID_VIEW_LARGE           "用大圖標顯示任務"
893     ID_VIEW_SMALL           "用小圖標顯示任務"
894     ID_VIEW_DETAILS         "顯示每個任務的詳細內容"
895     ID_VIEW_UPDATESPEED_HIGH "每秒更新顯示兩次"
896     ID_VIEW_UPDATESPEED_NORMAL "每兩秒更新顯示一次"
897     ID_VIEW_UPDATESPEED_LOW "每四秒更新顯示一次"
898 END
899
900 STRINGTABLE DISCARDABLE
901 BEGIN
902     ID_VIEW_UPDATESPEED_PAUSED "不會自動更新"
903     ID_WINDOWS_TILEHORIZONTALLY "在桌面上將所有視窗橫向平鋪"
904     ID_WINDOWS_TILEVERTICALLY   "在桌面上將所有視窗縱向平鋪"
905     ID_WINDOWS_MINIMIZE     "視窗最小化"
906     ID_WINDOWS_MAXIMIZE     "視窗最大化"
907     ID_WINDOWS_CASCADE      "在桌面上按對角線將視窗疊放"
908     ID_WINDOWS_BRINGTOFRONT "將視窗調到最前面,但不激活"
909     ID_HELP_TOPICS          "顯示任務管理器幫助內容"
910     ID_HELP_ABOUT           "顯示本程式資訊,版本及版權"
911     ID_FILE_EXIT            "結束任務管理器"
912     ID_OPTIONS_SHOW16BITTASKS         "顯示 16-位任務及有關的ntvdm.exe"
913     ID_VIEW_SELECTCOLUMNS             "選擇在進程分頁的顯示內容"
914     ID_VIEW_SHOWKERNELTIMES           "在性能圖上顯示內核使用時間"
915     ID_VIEW_CPUHISTORY_ONEGRAPHALL    "一張歷史圖顯示所有CPU用量"
916     ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU "每一個CPU有自己的歷史圖"
917     ID_APPLICATION_PAGE_SWITCHTO      "將任務設為當前任務,並激活"
918 END
919
920 STRINGTABLE DISCARDABLE
921 BEGIN
922     ID_ENDTASK              "通知當前選中的任務關閉"
923     ID_GOTOPROCESS          "將焦點轉到當前選中的任務"
924     ID_RESTORE              "取消任務管理器隱藏狀態"
925     ID_PROCESS_PAGE_ENDPROCESS     "將進程從系統中刪除"
926     ID_PROCESS_PAGE_ENDPROCESSTREE "將進程及其附屬進程從系統中刪除"
927     ID_PROCESS_PAGE_DEBUG          "將調試器接到本進程"
928     ID_PROCESS_PAGE_SETAFFINITY    "控制各進程使用那個處理器"
929     ID_PROCESS_PAGE_SETPRIORITY_REALTIME    "將進程設為實時優先級"
930     ID_PROCESS_PAGE_SETPRIORITY_HIGH        "將進程設為高優先級"
931     ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL "將進程設為中等以上優先級"
932     ID_PROCESS_PAGE_SETPRIORITY_NORMAL      "將進程設為中等優先級"
933     ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL "將進程設為中等以下優先級"
934     ID_PROCESS_PAGE_SETPRIORITY_LOW          "將進程設為低優先級"
935 END