wininet: Added separated function for querying global options.
[wine.git] / programs / taskmgr / taskmgr.rc
blob1f8dc41bf55ed68a4ab2a4df9215dfa0aff9ed8b
1 /*
2  *  Task Manager
3  *
4  *  Copyright 1999-2001 Brian Palmer
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  */
22 #include "resource.h"
24 #pragma code_page(65001)
26 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
29  Menus
32 IDR_TASKMANAGER MENU
33 BEGIN
34     POPUP "&File"
35     BEGIN
36         MENUITEM "&New Task (Run...)",          ID_FILE_NEW
37         MENUITEM SEPARATOR
38         MENUITEM "E&xit Task Manager",          ID_FILE_EXIT
39     END
40     POPUP "&Options"
41     BEGIN
42         MENUITEM "&Always on Top",              ID_OPTIONS_ALWAYSONTOP
43         , CHECKED
44         MENUITEM "&Minimize On Use",            ID_OPTIONS_MINIMIZEONUSE
45         , CHECKED
46         MENUITEM "&Hide When Minimized",        ID_OPTIONS_HIDEWHENMINIMIZED
47         , CHECKED
48         MENUITEM "&Show 16-bit tasks",          ID_OPTIONS_SHOW16BITTASKS
49         , CHECKED
50     END
51     POPUP "&View"
52     BEGIN
53         MENUITEM "&Refresh Now",                ID_VIEW_REFRESH
54         POPUP "&Update Speed"
55         BEGIN
56             MENUITEM "&High",                       ID_VIEW_UPDATESPEED_HIGH
57             MENUITEM "&Normal",                     ID_VIEW_UPDATESPEED_NORMAL
58             , CHECKED
59             MENUITEM "&Low",                        ID_VIEW_UPDATESPEED_LOW
60             MENUITEM "&Paused",                     ID_VIEW_UPDATESPEED_PAUSED
62         END
63         MENUITEM SEPARATOR
64         MENUITEM "Lar&ge Icons",                ID_VIEW_LARGE
65         MENUITEM "S&mall Icons",                ID_VIEW_SMALL
66         MENUITEM "&Details",                    ID_VIEW_DETAILS, CHECKED
67         MENUITEM "&Select Columns...",          ID_VIEW_SELECTCOLUMNS
68         POPUP "&CPU History"
69         BEGIN
70             MENUITEM "&One Graph, All CPUs",        ID_VIEW_CPUHISTORY_ONEGRAPHALL
72             MENUITEM "One Graph &Per CPU",          ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU
73             , CHECKED
74         END
75         MENUITEM "&Show Kernel Times",          ID_VIEW_SHOWKERNELTIMES
76     END
77     POPUP "&Windows"
78     BEGIN
79         MENUITEM "Tile &Horizontally",          ID_WINDOWS_TILEHORIZONTALLY
80         MENUITEM "Tile &Vertically",            ID_WINDOWS_TILEVERTICALLY
81         MENUITEM "&Minimize",                   ID_WINDOWS_MINIMIZE
82         MENUITEM "Ma&ximize",                   ID_WINDOWS_MAXIMIZE
83         MENUITEM "&Cascade",                    ID_WINDOWS_CASCADE
84         MENUITEM "&Bring To Front",             ID_WINDOWS_BRINGTOFRONT
85     END
86     POPUP "&Help"
87     BEGIN
88         MENUITEM "&Contents",                   ID_HELP_TOPICS
89         MENUITEM "&About Task Manager",         ID_HELP_ABOUT
90     END
91 END
93 IDR_WINDOWSMENU MENU
94 BEGIN
95     MENUITEM "Tile &Horizontally",          ID_WINDOWS_TILEHORIZONTALLY
96     MENUITEM "Tile &Vertically",            ID_WINDOWS_TILEVERTICALLY
97     MENUITEM "&Minimize",                   ID_WINDOWS_MINIMIZE
98     MENUITEM "Ma&ximize",                   ID_WINDOWS_MAXIMIZE
99     MENUITEM "&Cascade",                    ID_WINDOWS_CASCADE
100     MENUITEM "&Bring To Front",             ID_WINDOWS_BRINGTOFRONT
103 IDR_APPLICATION_PAGE_CONTEXT1 MENU
104 BEGIN
105     POPUP ""
106     BEGIN
107         MENUITEM "&New Task (Run...)",          ID_FILE_NEW
108         MENUITEM SEPARATOR
109         MENUITEM "Lar&ge Icons",                ID_VIEW_LARGE
110         MENUITEM "S&mall Icons",                ID_VIEW_SMALL
111         MENUITEM "&Details",                    ID_VIEW_DETAILS, CHECKED
112     END
115 IDR_APPLICATION_PAGE_CONTEXT2 MENU
116 BEGIN
117     POPUP ""
118     BEGIN
119         MENUITEM "&Switch To",                  ID_APPLICATION_PAGE_SWITCHTO
120         MENUITEM "&Bring To Front",             ID_WINDOWS_BRINGTOFRONT
121         MENUITEM SEPARATOR
122         MENUITEM "Tile &Horizontally",          ID_WINDOWS_TILEHORIZONTALLY
123         MENUITEM "Tile &Vertically",            ID_WINDOWS_TILEVERTICALLY
124         MENUITEM "&Minimize",                   ID_WINDOWS_MINIMIZE
125         MENUITEM "Ma&ximize",                   ID_WINDOWS_MAXIMIZE
126         MENUITEM "&Cascade",                    ID_WINDOWS_CASCADE
127         MENUITEM SEPARATOR
128         MENUITEM "&End Task",                   ID_APPLICATION_PAGE_ENDTASK
129         MENUITEM "&Go To Process",              ID_APPLICATION_PAGE_GOTOPROCESS
130     END
133 IDR_TRAY_POPUP MENU
134 BEGIN
135     POPUP ""
136     BEGIN
137         MENUITEM "#msgctxt#window#&Restore",    ID_RESTORE
138         MENUITEM "&Close",                      ID_FILE_EXIT
139         MENUITEM SEPARATOR
140         MENUITEM "&Always on Top",              ID_OPTIONS_ALWAYSONTOP
141     END
144 IDR_PROCESS_PAGE_CONTEXT MENU
145 BEGIN
146     POPUP ""
147     BEGIN
148         MENUITEM "&End Process",                ID_PROCESS_PAGE_ENDPROCESS
149         MENUITEM "End Process &Tree",           ID_PROCESS_PAGE_ENDPROCESSTREE
151         MENUITEM "&Debug",                      ID_PROCESS_PAGE_DEBUG
152         MENUITEM SEPARATOR
153         POPUP "Set &Priority"
154         BEGIN
155             MENUITEM "&Realtime",                   ID_PROCESS_PAGE_SETPRIORITY_REALTIME
157             MENUITEM "&High",                       ID_PROCESS_PAGE_SETPRIORITY_HIGH
159             MENUITEM "&Above Normal",               ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL
161             MENUITEM "&Normal",                     ID_PROCESS_PAGE_SETPRIORITY_NORMAL
163             MENUITEM "&Below Normal",               ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL
165             MENUITEM "&Low",                        ID_PROCESS_PAGE_SETPRIORITY_LOW
167         END
168         MENUITEM "Set &Affinity...",            ID_PROCESS_PAGE_SETAFFINITY
169         MENUITEM "Edit Debug &Channels...",     ID_PROCESS_PAGE_DEBUGCHANNELS
170     END
174  String Tables
177 STRINGTABLE
178 BEGIN
179     IDS_APP_TITLE           "Task Manager"
180     IDC_TASKMGR             "Task Manager"
181     IDS_RUNDLG_CAPTION      "Create New Task"
184 STRINGTABLE
185 BEGIN
186     ID_FILE_NEW             "Runs a new program"
187     ID_OPTIONS_ALWAYSONTOP  "Task Manager remains in front of all other windows unless minimized"
188     ID_OPTIONS_MINIMIZEONUSE
189                             "Task Manager is minimized when a SwitchTo operation is performed"
190     ID_OPTIONS_HIDEWHENMINIMIZED "Hide the Task Manager when it is minimized"
191     ID_VIEW_REFRESH         "Force Task Manager to update now, regardless of Update Speed setting"
192     ID_VIEW_LARGE           "Displays tasks by using large icons"
193     ID_VIEW_SMALL           "Displays tasks by using small icons"
194     ID_VIEW_DETAILS         "Displays information about each task"
195     ID_VIEW_UPDATESPEED_HIGH "Updates the display twice per second"
196     ID_VIEW_UPDATESPEED_NORMAL "Updates the display every two seconds"
197     ID_VIEW_UPDATESPEED_LOW "Updates the display every four seconds"
200 STRINGTABLE
201 BEGIN
202     ID_VIEW_UPDATESPEED_PAUSED "Does not automatically update"
203     ID_WINDOWS_TILEHORIZONTALLY
204                             "Tiles the windows horizontally on the desktop"
205     ID_WINDOWS_TILEVERTICALLY "Tiles the windows vertically on the desktop"
206     ID_WINDOWS_MINIMIZE     "Minimizes the windows"
207     ID_WINDOWS_MAXIMIZE     "Maximizes the windows"
208     ID_WINDOWS_CASCADE      "Cascades the windows diagonally on the desktop"
209     ID_WINDOWS_BRINGTOFRONT "Brings the window front, but does not switch to it"
210     ID_HELP_TOPICS          "Displays Task Manager help topics"
211     ID_HELP_ABOUT           "Displays program information, version number, and copyright"
212     ID_FILE_EXIT            "Exits the Task Manager application"
213     ID_OPTIONS_SHOW16BITTASKS
214                             "Shows 16-bit tasks under the associated ntvdm.exe"
215     ID_VIEW_SELECTCOLUMNS   "Select which columns will be visible on the Process page"
216     ID_VIEW_SHOWKERNELTIMES "Displays kernel time in the performance graphs"
217     ID_VIEW_CPUHISTORY_ONEGRAPHALL
218                             "A single history graph shows total CPU usage"
219     ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU "Each CPU has its own history graph"
220     ID_APPLICATION_PAGE_SWITCHTO
221                             "Brings a task to the foreground, switch focus to that task"
224 STRINGTABLE
225 BEGIN
226     ID_ENDTASK              "Tells the selected tasks to close"
227     ID_GOTOPROCESS          "Switches the focus to the process of the selected task"
228     ID_RESTORE              "Restores the Task Manager from its hidden state"
229     ID_PROCESS_PAGE_ENDPROCESS "Removes the process from the system"
230     ID_PROCESS_PAGE_ENDPROCESSTREE
231                             "Removes this process and all descendants from the system"
232     ID_PROCESS_PAGE_DEBUG   "Attaches the debugger to this process"
233     ID_PROCESS_PAGE_SETAFFINITY
234                             "Controls which processors the process will be allowed to run on"
235     ID_PROCESS_PAGE_SETPRIORITY_REALTIME
236                             "Sets process to the REALTIME priority class"
237     ID_PROCESS_PAGE_SETPRIORITY_HIGH "Sets process to the HIGH priority class"
238     ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL
239                             "Sets process to the ABOVE NORMAL priority class"
240     ID_PROCESS_PAGE_SETPRIORITY_NORMAL
241                             "Sets process to the NORMAL priority class"
242     ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL
243                             "Sets process to the BELOW NORMAL priority class"
244     ID_PROCESS_PAGE_SETPRIORITY_LOW "Sets process to the LOW priority class"
245     ID_PROCESS_PAGE_DEBUGCHANNELS
246                             "Controls Debug Channels"
249 STRINGTABLE
250 BEGIN
251     IDS_VIEW_LARGE                     "Lar&ge Icons"
252     IDS_VIEW_SMALL                     "S&mall Icons"
253     IDS_VIEW_DETAILS                   "&Details"
254     IDS_WINDOWS                        "&Windows"
255     IDS_VIEW_SELECTCOLUMNS             "&Select Columns..."
256     IDS_OPTIONS_SHOW16BITTASKS         "&Show 16-bit tasks"
257     IDS_VIEW_CPUHISTORY                "&CPU History"
258     IDS_VIEW_CPUHISTORY_ONEGRAPHALL    "&One Graph, All CPUs"
259     IDS_VIEW_CPUHISTORY_ONEGRAPHPERCPU "One Graph &Per CPU"
260     IDS_VIEW_SHOWKERNELTIMES           "&Show Kernel Times"
261     IDS_APPLICATIONS                   "Applications"
262     IDS_PROCESSES                      "Processes"
263     IDS_PERFORMANCE                    "Performance"
264     IDS_STATUS_BAR_CPU_USAGE           "CPU Usage: %3d%%"
265     IDS_STATUS_BAR_PROCESSES           "Processes: %d"
266     IDS_STATUS_BAR_MEMORY_USAGE        "Mem Usage: %1!u!kB / %2!u!kB"
269 STRINGTABLE
270 BEGIN
271     IDS_IMAGENAME         "Image Name"
272     IDS_PID               "PID"
273     IDS_CPUUSAGE          "CPU"
274     IDS_CPUTIME           "CPU Time"
275     IDS_MEMORYUSAGE       "Mem Usage"
276     IDS_MEMORYUSAGEDELTA  "Mem Delta"
277     IDS_PEAKMEMORYUSAGE   "Peak Mem Usage"
278     IDS_PAGEFAULTS        "Page Faults"
279     IDS_USEROBJECTS       "USER Objects"
280     IDS_IOREADS           "I/O Reads"
281     IDS_IOREADBYTES       "I/O Read Bytes"
282     IDS_SESSIONID         "Session ID"
283     IDS_USERNAME          "Username"
284     IDS_PAGEFAULTSDELTA   "PF Delta"
285     IDS_VIRTUALMEMORYSIZE "VM Size"
286     IDS_PAGEDPOOL         "Paged Pool"
287     IDS_NONPAGEDPOOL      "NP Pool"
288     IDS_BASEPRIORITY      "Base Pri"
289     IDS_HANDLECOUNT       "Handles"
290     IDS_THREADCOUNT       "Threads"
291     IDS_GDIOBJECTS        "GDI Objects"
292     IDS_IOWRITES          "I/O Writes"
293     IDS_IOWRITEBYTES      "I/O Write Bytes"
294     IDS_IOOTHER           "I/O Other"
295     IDS_IOOTHERBYTES      "I/O Other Bytes"
298 STRINGTABLE
299 BEGIN
300     IDS_WARNING_TITLE               "Task Manager Warning"
301     IDS_PRIORITY_CHANGE_MESSAGE     "WARNING: Changing the priority class of this process may\n\
302                                      cause undesired results including system instability. Are you\n\
303                                      sure you want to change the priority class?"
304     IDS_PRIORITY_UNABLE2CHANGE      "Unable to Change Priority"
305     IDS_TERMINATE_MESSAGE           "WARNING: Terminating a process can cause undesired\n\
306                                      results including loss of data and system instability. The\n\
307                                      process will not be given the chance to save its state or\n\
308                                      data before it is terminated. Are you sure you want to\n\
309                                      terminate the process?"
310     IDS_TERMINATE_UNABLE2TERMINATE  "Unable to Terminate Process"
311     IDS_DEBUG_MESSAGE               "WARNING: Debugging this process may result in loss of data.\n\
312                                      Are you sure you wish to attach the debugger?"
313     IDS_DEBUG_UNABLE2DEBUG          "Unable to Debug Process"
314     IDS_AFFINITY_ERROR_MESSAGE      "The process must have affinity with at least one processor"
315     IDS_AFFINITY_ERROR_TITLE        "Invalid Option"
316     IDS_AFFINITY_UNABLE2ACCESS      "Unable to Access or Set Process Affinity"
319 STRINGTABLE
320 BEGIN
321     IDS_SYSTEM_IDLE_PROCESS            "System Idle Process"
322     IDS_APPLICATION_NOT_RESPONDING     "Not Responding"
323     IDS_APPLICATION_RUNNING            "Running"
324     IDS_APPLICATION_TASK               "Task"
325     IDS_APPLICATION_STATUS             "Status"
326     IDS_DEBUG_CHANNEL                  "Debug Channels"
330  Dialogs
333 IDD_TASKMGR_DIALOG DIALOG  0, 0, 264, 246
334 STYLE DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP |
335     WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU |
336     WS_THICKFRAME
337 CAPTION "Task Manager"
338 MENU IDR_TASKMANAGER
339 FONT 8, "MS Shell Dlg"
340 BEGIN
341     CONTROL         "",IDC_TAB,"SysTabControl32",WS_TABSTOP,3,3,257,228
344 IDD_APPLICATION_PAGE DIALOG  0, 0, 247, 210
345 STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
346 FONT 8, "MS Shell Dlg"
347 BEGIN
348     CONTROL         "",IDC_APPLIST,"SysListView32",LVS_REPORT |
349                     LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,4,4,239,180
350     PUSHBUTTON      "&New Task...",IDC_NEWTASK,175,189,68,14
351     PUSHBUTTON      "&Switch To",IDC_SWITCHTO,104,189,68,14,WS_DISABLED
352     PUSHBUTTON      "&End Task",IDC_ENDTASK,33,189,68,14,WS_DISABLED
355 IDD_PROCESS_PAGE DIALOG  0, 0, 247, 210
356 STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
357 FONT 8, "MS Shell Dlg"
358 BEGIN
359     CONTROL         "",IDC_PROCESSLIST,"SysListView32",LVS_REPORT |
360                     LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_OWNERDATA |
361                     WS_BORDER | WS_TABSTOP,4,4,239,180
362     PUSHBUTTON      "&End Process",IDC_ENDPROCESS,165,189,78,14
363     CONTROL         "&Show processes from all users",IDC_SHOWALLPROCESSES,
364                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,191,160,10
367 IDD_PERFORMANCE_PAGE DIALOGEX  0, 0, 247, 210
368 STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
369 FONT 8, "MS Shell Dlg"
370 BEGIN
371     GROUPBOX        "CPU usage",IDC_CPU_USAGE_FRAME,5,5,60,54,WS_TABSTOP, WS_EX_TRANSPARENT
372     GROUPBOX        "MEM usage",IDC_MEM_USAGE_FRAME,5,63,60,54,BS_LEFTTEXT, WS_EX_TRANSPARENT
373     GROUPBOX        "Totals",IDC_TOTALS_FRAME,5,122,111,39,0,WS_EX_TRANSPARENT
374     GROUPBOX        "Commit charge (K)",IDC_COMMIT_CHARGE_FRAME,5,166,111,39,0,WS_EX_TRANSPARENT
375     GROUPBOX        "Physical memory (K)",IDC_PHYSICAL_MEMORY_FRAME,126,122,116,39,0,WS_EX_TRANSPARENT
376     GROUPBOX        "Kernel memory (K)",IDC_KERNEL_MEMORY_FRAME,126,166,116,39,0,WS_EX_TRANSPARENT
377     LTEXT           "Handles",IDS_TOTALS_HANDLE_COUNT,12,131,43,8
378     LTEXT           "Threads",IDS_TOTALS_THREAD_COUNT,12,140,43,8
379     LTEXT           "Processes",IDS_TOTALS_PROCESS_COUNT,12,149,43,8
380     EDITTEXT        IDC_TOTALS_HANDLE_COUNT,65,131,45,8,ES_RIGHT |
381                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
382     EDITTEXT        IDC_TOTALS_THREAD_COUNT,65,140,45,8,ES_RIGHT |
383                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
384     EDITTEXT        IDC_TOTALS_PROCESS_COUNT,65,149,45,8,ES_RIGHT |
385                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
386     LTEXT           "Total",IDS_COMMIT_CHARGE_TOTAL,12,175,43,8
387     LTEXT           "Limit",IDS_COMMIT_CHARGE_LIMIT,12,184,43,8
388     LTEXT           "Peak",IDS_COMMIT_CHARGE_PEAK,12,193,43,8
389     EDITTEXT        IDC_COMMIT_CHARGE_TOTAL,65,174,45,8,ES_RIGHT |
390                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
391     EDITTEXT        IDC_COMMIT_CHARGE_LIMIT,65,184,45,8,ES_RIGHT |
392                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
393     EDITTEXT        IDC_COMMIT_CHARGE_PEAK,65,193,45,8,ES_RIGHT |
394                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
395     LTEXT           "Total",IDS_PHYSICAL_MEMORY_TOTAL,132,131,53,8
396     LTEXT           "Available",IDS_PHYSICAL_MEMORY_AVAILABLE,132,140,53,8
397     LTEXT           "System Cache",IDS_PHYSICAL_MEMORY_SYSTEM_CACHE,132,149,53,8
398     EDITTEXT        IDC_PHYSICAL_MEMORY_TOTAL,185,131,48,8,ES_RIGHT |
399                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
400     EDITTEXT        IDC_PHYSICAL_MEMORY_AVAILABLE,185,140,48,8,ES_RIGHT |
401                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
402     EDITTEXT        IDC_PHYSICAL_MEMORY_SYSTEM_CACHE,185,149,48,8,ES_RIGHT |
403                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
404     LTEXT           "Total",IDS_KERNEL_MEMORY_TOTAL,132,174,53,8
405     LTEXT           "Paged",IDS_KERNEL_MEMORY_PAGED,132,184,53,8
406     LTEXT           "Nonpaged",IDS_KERNEL_MEMORY_NONPAGED,132,193,53,8
407     EDITTEXT        IDC_KERNEL_MEMORY_TOTAL,185,174,48,8,ES_RIGHT |
408                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
409     EDITTEXT        IDC_KERNEL_MEMORY_PAGED,185,184,48,8,ES_RIGHT |
410                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
411     EDITTEXT        IDC_KERNEL_MEMORY_NONPAGED,185,193,48,8,ES_RIGHT |
412                     ES_READONLY | ES_NUMBER | NOT WS_BORDER
413     GROUPBOX        "CPU usage history",IDC_CPU_USAGE_HISTORY_FRAME,74,5,168,54,0,WS_EX_TRANSPARENT
414     GROUPBOX        "Memory usage history",IDC_MEMORY_USAGE_HISTORY_FRAME,74,63,168,54,0,WS_EX_TRANSPARENT
415     PUSHBUTTON      "",IDC_CPU_USAGE_GRAPH,12,17,47,37,0,
416                     WS_EX_CLIENTEDGE
417     PUSHBUTTON      "",IDC_MEM_USAGE_GRAPH,12,75,47,37,0,
418                     WS_EX_CLIENTEDGE
419     PUSHBUTTON      "",IDC_CPU_USAGE_HISTORY_GRAPH,81,17,
420                     153,37,0,WS_EX_CLIENTEDGE
421     PUSHBUTTON      "",IDC_MEM_USAGE_HISTORY_GRAPH,81,75,
422                     153,37,0,WS_EX_CLIENTEDGE
425 IDD_DEBUG_CHANNELS_DIALOG DIALOG  0, 0, 247, 210
426 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
427 CAPTION "Debug Channels"
428 FONT 8, "MS Shell Dlg"
429 BEGIN
430     CONTROL         "",IDC_DEBUG_CHANNELS_LIST,"SysListView32",LVS_REPORT |
431                     LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP |
432                     LVS_SORTASCENDING,7,7,233,177
433     PUSHBUTTON      "Close",IDOK,171,189,69,14
436 IDD_AFFINITY_DIALOG DIALOG  0, 0, 231, 154
437 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
438 CAPTION "Processor Affinity"
439 FONT 8, "MS Shell Dlg"
440 BEGIN
441     DEFPUSHBUTTON   "OK",IDOK,120,133,50,14
442     PUSHBUTTON      "Cancel",IDCANCEL,174,133,50,14
443     LTEXT           "The Processor Affinity setting controls which CPUs the process will be allowed to execute on.",
444                     IDC_STATIC,5,5,220,16
445     CONTROL         "CPU 0",IDC_CPU0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
446                     11,28,37,10
447     CONTROL         "CPU 1",IDC_CPU1,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
448                     WS_TABSTOP,11,41,37,10
449     CONTROL         "CPU 2",IDC_CPU2,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
450                     WS_TABSTOP,11,54,37,10
451     CONTROL         "CPU 3",IDC_CPU3,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
452                     WS_TABSTOP,11,67,37,10
453     CONTROL         "CPU 4",IDC_CPU4,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
454                     WS_TABSTOP,11,80,37,10
455     CONTROL         "CPU 5",IDC_CPU5,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
456                     WS_TABSTOP,11,93,37,10
457     CONTROL         "CPU 6",IDC_CPU6,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
458                     WS_TABSTOP,11,106,37,10
459     CONTROL         "CPU 7",IDC_CPU7,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
460                     WS_TABSTOP,11,119,37,10
461     CONTROL         "CPU 8",IDC_CPU8,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
462                     WS_TABSTOP,61,28,37,10
463     CONTROL         "CPU 9",IDC_CPU9,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
464                     WS_TABSTOP,61,41,37,10
465     CONTROL         "CPU 10",IDC_CPU10,"Button",BS_AUTOCHECKBOX |
466                     WS_DISABLED | WS_TABSTOP,61,54,41,10
467     CONTROL         "CPU 11",IDC_CPU11,"Button",BS_AUTOCHECKBOX |
468                     WS_DISABLED | WS_TABSTOP,61,67,41,10
469     CONTROL         "CPU 12",IDC_CPU12,"Button",BS_AUTOCHECKBOX |
470                     WS_DISABLED | WS_TABSTOP,61,80,41,10
471     CONTROL         "CPU 13",IDC_CPU13,"Button",BS_AUTOCHECKBOX |
472                     WS_DISABLED | WS_TABSTOP,61,93,41,10
473     CONTROL         "CPU 14",IDC_CPU14,"Button",BS_AUTOCHECKBOX |
474                     WS_DISABLED | WS_TABSTOP,61,106,41,10
475     CONTROL         "CPU 15",IDC_CPU15,"Button",BS_AUTOCHECKBOX |
476                     WS_DISABLED | WS_TABSTOP,61,119,41,10
477     CONTROL         "CPU 16",IDC_CPU16,"Button",BS_AUTOCHECKBOX |
478                     WS_DISABLED | WS_TABSTOP,116,28,41,10
479     CONTROL         "CPU 17",IDC_CPU17,"Button",BS_AUTOCHECKBOX |
480                     WS_DISABLED | WS_TABSTOP,116,41,41,10
481     CONTROL         "CPU 18",IDC_CPU18,"Button",BS_AUTOCHECKBOX |
482                     WS_DISABLED | WS_TABSTOP,116,54,41,10
483     CONTROL         "CPU 19",IDC_CPU19,"Button",BS_AUTOCHECKBOX |
484                     WS_DISABLED | WS_TABSTOP,116,67,41,10
485     CONTROL         "CPU 20",IDC_CPU20,"Button",BS_AUTOCHECKBOX |
486                     WS_DISABLED | WS_TABSTOP,116,80,41,10
487     CONTROL         "CPU 21",IDC_CPU21,"Button",BS_AUTOCHECKBOX |
488                     WS_DISABLED | WS_TABSTOP,116,93,41,10
489     CONTROL         "CPU 22",IDC_CPU22,"Button",BS_AUTOCHECKBOX |
490                     WS_DISABLED | WS_TABSTOP,116,106,41,10
491     CONTROL         "CPU 23",IDC_CPU23,"Button",BS_AUTOCHECKBOX |
492                     WS_DISABLED | WS_TABSTOP,116,119,41,10
493     CONTROL         "CPU 24",IDC_CPU24,"Button",BS_AUTOCHECKBOX |
494                     WS_DISABLED | WS_TABSTOP,175,28,41,10
495     CONTROL         "CPU 25",IDC_CPU25,"Button",BS_AUTOCHECKBOX |
496                     WS_DISABLED | WS_TABSTOP,175,41,41,10
497     CONTROL         "CPU 26",IDC_CPU26,"Button",BS_AUTOCHECKBOX |
498                     WS_DISABLED | WS_TABSTOP,175,54,41,10
499     CONTROL         "CPU 27",IDC_CPU27,"Button",BS_AUTOCHECKBOX |
500                     WS_DISABLED | WS_TABSTOP,175,67,41,10
501     CONTROL         "CPU 28",IDC_CPU28,"Button",BS_AUTOCHECKBOX |
502                     WS_DISABLED | WS_TABSTOP,175,80,41,10
503     CONTROL         "CPU 29",IDC_CPU29,"Button",BS_AUTOCHECKBOX |
504                     WS_DISABLED | WS_TABSTOP,175,93,41,10
505     CONTROL         "CPU 30",IDC_CPU30,"Button",BS_AUTOCHECKBOX |
506                     WS_DISABLED | WS_TABSTOP,175,106,41,10
507     CONTROL         "CPU 31",IDC_CPU31,"Button",BS_AUTOCHECKBOX |
508                     WS_DISABLED | WS_TABSTOP,175,119,41,10
511 IDD_COLUMNS_DIALOG DIALOG  0, 0, 255, 199
512 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
513 CAPTION "Select Columns"
514 FONT 8, "MS Shell Dlg"
515 BEGIN
516     DEFPUSHBUTTON   "OK",IDOK,144,178,50,14
517     PUSHBUTTON      "Cancel",IDCANCEL,198,178,50,14
518     LTEXT           "Select the columns that will appear on the Process page of the Task Manager.",
519                     IDC_STATIC,7,7,200,17
520     CONTROL         "&Image Name",IDC_IMAGENAME,"Button",BS_AUTOCHECKBOX |
521                     WS_DISABLED | WS_TABSTOP,7,28,120,10
522     CONTROL         "&PID (Process Identifier)",IDC_PID,"Button",
523                     BS_AUTOCHECKBOX | WS_TABSTOP,7,39,120,10
524     CONTROL         "&CPU Usage",IDC_CPUUSAGE,"Button",BS_AUTOCHECKBOX |
525                     WS_TABSTOP,7,50,120,10
526     CONTROL         "CPU Tim&e",IDC_CPUTIME,"Button",BS_AUTOCHECKBOX |
527                     WS_TABSTOP,7,61,120,10
528     CONTROL         "&Memory Usage",IDC_MEMORYUSAGE,"Button",BS_AUTOCHECKBOX |
529                     WS_TABSTOP,7,72,120,10
530     CONTROL         "Memory Usage &Delta",IDC_MEMORYUSAGEDELTA,"Button",
531                     BS_AUTOCHECKBOX | WS_TABSTOP,7,83,120,10
532     CONTROL         "Pea&k Memory Usage",IDC_PEAKMEMORYUSAGE,"Button",
533                     BS_AUTOCHECKBOX | WS_TABSTOP,7,94,120,10
534     CONTROL         "Page &Faults",IDC_PAGEFAULTS,"Button",BS_AUTOCHECKBOX |
535                     WS_TABSTOP,7,105,120,10
536     CONTROL         "&USER Objects",IDC_USEROBJECTS,"Button",BS_AUTOCHECKBOX |
537                     WS_TABSTOP,7,116,120,10
538     CONTROL         "I/O Reads",IDC_IOREADS,"Button",BS_AUTOCHECKBOX |
539                     WS_TABSTOP,7,127,120,10
540     CONTROL         "I/O Read Bytes",IDC_IOREADBYTES,"Button",
541                     BS_AUTOCHECKBOX | WS_TABSTOP,7,138,120,10
542     CONTROL         "&Session ID",IDC_SESSIONID,"Button",BS_AUTOCHECKBOX |
543                     WS_TABSTOP,7,149,120,10
544     CONTROL         "User &Name",IDC_USERNAME,"Button",BS_AUTOCHECKBOX |
545                     WS_TABSTOP,7,160,120,10
546     CONTROL         "Page F&aults Delta",IDC_PAGEFAULTSDELTA,"Button",
547                     BS_AUTOCHECKBOX | WS_TABSTOP,132,28,120,10
548     CONTROL         "&Virtual Memory Size",IDC_VIRTUALMEMORYSIZE,"Button",
549                     BS_AUTOCHECKBOX | WS_TABSTOP,132,39,120,10
550     CONTROL         "Pa&ged Pool",IDC_PAGEDPOOL,"Button",BS_AUTOCHECKBOX |
551                     WS_TABSTOP,132,50,120,10
552     CONTROL         "N&on-paged Pool",IDC_NONPAGEDPOOL,"Button",
553                     BS_AUTOCHECKBOX | WS_TABSTOP,132,61,120,10
554     CONTROL         "Base P&riority",IDC_BASEPRIORITY,"Button",
555                     BS_AUTOCHECKBOX | WS_TABSTOP,132,72,120,10
556     CONTROL         "&Handle Count",IDC_HANDLECOUNT,"Button",BS_AUTOCHECKBOX |
557                     WS_TABSTOP,132,83,120,10
558     CONTROL         "&Thread Count",IDC_THREADCOUNT,"Button",BS_AUTOCHECKBOX |
559                     WS_TABSTOP,132,94,120,10
560     CONTROL         "GDI Objects",IDC_GDIOBJECTS,"Button",BS_AUTOCHECKBOX |
561                     WS_TABSTOP,132,105,120,10
562     CONTROL         "I/O Writes",IDC_IOWRITES,"Button",BS_AUTOCHECKBOX |
563                     WS_TABSTOP,132,116,120,10
564     CONTROL         "I/O Write Bytes",IDC_IOWRITEBYTES,"Button",
565                     BS_AUTOCHECKBOX | WS_TABSTOP,132,127,120,10
566     CONTROL         "I/O Other",IDC_IOOTHER,"Button",BS_AUTOCHECKBOX |
567                     WS_TABSTOP,132,138,120,10
568     CONTROL         "I/O Other Bytes",IDC_IOOTHERBYTES,"Button",
569                     BS_AUTOCHECKBOX | WS_TABSTOP,132,149,120,10
572 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
575  Icon
578 /* Icon with lowest ID value placed first to ensure application icon
579    remains consistent on all systems. */
580 /* @makedep: taskmgr.ico */
581 IDI_TASKMANAGER         ICON taskmgr.ico
583 /* @makedep: window.ico */
584 IDI_WINDOW              ICON window.ico
586 /* @makedep: windowsm.ico */
587 IDI_WINDOWSM            ICON windowsm.ico
590  Version
593 VS_VERSION_INFO VERSIONINFO
594  FILEVERSION 1,0,0,1
595  PRODUCTVERSION 1,0,0,1
596  FILEFLAGSMASK 0x3fL
597 #ifdef _DEBUG
598  FILEFLAGS 0x1L
599 #else
600  FILEFLAGS 0x0L
601 #endif
602  FILEOS 0x40004L
603  FILETYPE 0x1L
604  FILESUBTYPE 0x0L
605 BEGIN
606     BLOCK "StringFileInfo"
607     BEGIN
608         BLOCK "040904b0"
609         BEGIN
610             VALUE "CompanyName", "Brian Palmer\0"
611             VALUE "FileDescription", "Task Manager by Brian Palmer\0"
612             VALUE "FileVersion", "1.0.0.1\0"
613             VALUE "InternalName", "taskmgr\0"
614             VALUE "LegalCopyright", "Copyright © Brian Palmer 2000\0"
615             VALUE "OriginalFilename", "taskmgr.exe\0"
616             VALUE "ProductName", "Task Manager by Brian Palmer\0"
617             VALUE "ProductVersion", "1.0.0.1\0"
618         END
619     END
620     BLOCK "VarFileInfo"
621     BEGIN
622         VALUE "Translation", 0x409, 1200
623     END
627  Bitmap
630 /* @makedep: traymask.bmp */
631 IDB_TRAYMASK            BITMAP traymask.bmp
633 /* @makedep: trayicon.bmp */
634 IDB_TRAYICON            BITMAP trayicon.bmp
636 /* @makedep: font.bmp */
637 IDB_FONT                BITMAP font.bmp