progman: We don't have a wintutor application so remove the 'Tutorial' menu.
[wine] / programs / taskmgr / taskmgr.rc
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  */
21
22 #include "resource.h"
23
24 #pragma code_page(65001)
25
26 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
27
28 /*
29  Menus
30 */
31
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
61
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
71
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 "Task Manager &Help Topics",   ID_HELP_TOPICS
89         MENUITEM SEPARATOR
90         MENUITEM "&About Task Manager",         ID_HELP_ABOUT
91     END
92 END
93
94 IDR_WINDOWSMENU MENU
95 BEGIN
96     MENUITEM "Tile &Horizontally",          ID_WINDOWS_TILEHORIZONTALLY
97     MENUITEM "Tile &Vertically",            ID_WINDOWS_TILEVERTICALLY
98     MENUITEM "&Minimize",                   ID_WINDOWS_MINIMIZE
99     MENUITEM "Ma&ximize",                   ID_WINDOWS_MAXIMIZE
100     MENUITEM "&Cascade",                    ID_WINDOWS_CASCADE
101     MENUITEM "&Bring To Front",             ID_WINDOWS_BRINGTOFRONT
102 END
103
104 IDR_APPLICATION_PAGE_CONTEXT1 MENU
105 BEGIN
106     POPUP "DUMMY"
107     BEGIN
108         MENUITEM "&New Task (Run...)",          ID_FILE_NEW
109         MENUITEM SEPARATOR
110         MENUITEM "Lar&ge Icons",                ID_VIEW_LARGE
111         MENUITEM "S&mall Icons",                ID_VIEW_SMALL
112         MENUITEM "&Details",                    ID_VIEW_DETAILS, CHECKED
113     END
114 END
115
116 IDR_APPLICATION_PAGE_CONTEXT2 MENU
117 BEGIN
118     POPUP "DUMMY"
119     BEGIN
120         MENUITEM "&Switch To",                  ID_APPLICATION_PAGE_SWITCHTO
121         MENUITEM "&Bring To Front",             ID_WINDOWS_BRINGTOFRONT
122         MENUITEM SEPARATOR
123         MENUITEM "Tile &Horizontally",          ID_WINDOWS_TILEHORIZONTALLY
124         MENUITEM "Tile &Vertically",            ID_WINDOWS_TILEVERTICALLY
125         MENUITEM "&Minimize",                   ID_WINDOWS_MINIMIZE
126         MENUITEM "Ma&ximize",                   ID_WINDOWS_MAXIMIZE
127         MENUITEM "&Cascade",                    ID_WINDOWS_CASCADE
128         MENUITEM SEPARATOR
129         MENUITEM "&End Task",                   ID_APPLICATION_PAGE_ENDTASK
130         MENUITEM "&Go To Process",              ID_APPLICATION_PAGE_GOTOPROCESS
131     END
132 END
133
134 IDR_TRAY_POPUP MENU
135 BEGIN
136     POPUP "DUMMY"
137     BEGIN
138         MENUITEM "&Restore",                    ID_RESTORE
139         MENUITEM "&Close",                      ID_FILE_EXIT
140         MENUITEM SEPARATOR
141         MENUITEM "&Always on Top",              ID_OPTIONS_ALWAYSONTOP
142     END
143 END
144
145 IDR_PROCESS_PAGE_CONTEXT MENU
146 BEGIN
147     POPUP "DUMMY"
148     BEGIN
149         MENUITEM "&End Process",                ID_PROCESS_PAGE_ENDPROCESS
150         MENUITEM "End Process &Tree",           ID_PROCESS_PAGE_ENDPROCESSTREE
151
152         MENUITEM "&Debug",                      ID_PROCESS_PAGE_DEBUG
153         MENUITEM SEPARATOR
154         POPUP "Set &Priority"
155         BEGIN
156             MENUITEM "&Realtime",                   ID_PROCESS_PAGE_SETPRIORITY_REALTIME
157
158             MENUITEM "&High",                       ID_PROCESS_PAGE_SETPRIORITY_HIGH
159
160             MENUITEM "&AboveNormal",                ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL
161
162             MENUITEM "&Normal",                     ID_PROCESS_PAGE_SETPRIORITY_NORMAL
163
164             MENUITEM "&BelowNormal",                ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL
165
166             MENUITEM "&Low",                        ID_PROCESS_PAGE_SETPRIORITY_LOW
167
168         END
169         MENUITEM "Set &Affinity...",            ID_PROCESS_PAGE_SETAFFINITY
170         MENUITEM "Edit Debug &Channels...",     ID_PROCESS_PAGE_DEBUGCHANNELS
171     END
172 END
173
174 /*
175  String Tables
176 */
177
178 STRINGTABLE
179 BEGIN
180     IDS_APP_TITLE           "Task Manager"
181     IDC_TASKMGR             "Task Manager"
182     IDS_RUNDLG_CAPTION      "Create New Task"
183 END
184
185 STRINGTABLE
186 BEGIN
187     ID_FILE_NEW             "Runs a new program"
188     ID_OPTIONS_ALWAYSONTOP  "Task Manager remains in front of all other windows unless minimized"
189     ID_OPTIONS_MINIMIZEONUSE
190                             "Task Manager is minimized when a SwitchTo operation is performed"
191     ID_OPTIONS_HIDEWHENMINIMIZED "Hide the Task Manager when it is minimized"
192     ID_VIEW_REFRESH         "Force Task Manager to update now, regardless of Update Speed setting"
193     ID_VIEW_LARGE           "Displays tasks by using large icons"
194     ID_VIEW_SMALL           "Displays tasks by using small icons"
195     ID_VIEW_DETAILS         "Displays information about each task"
196     ID_VIEW_UPDATESPEED_HIGH "Updates the display twice per second"
197     ID_VIEW_UPDATESPEED_NORMAL "Updates the display every two seconds"
198     ID_VIEW_UPDATESPEED_LOW "Updates the display every four seconds"
199 END
200
201 STRINGTABLE
202 BEGIN
203     ID_VIEW_UPDATESPEED_PAUSED "Does not automatically update"
204     ID_WINDOWS_TILEHORIZONTALLY
205                             "Tiles the windows horizontally on the desktop"
206     ID_WINDOWS_TILEVERTICALLY "Tiles the windows vertically on the desktop"
207     ID_WINDOWS_MINIMIZE     "Minimizes the windows"
208     ID_WINDOWS_MAXIMIZE     "Maximizes the windows"
209     ID_WINDOWS_CASCADE      "Cascades the windows diagonally on the desktop"
210     ID_WINDOWS_BRINGTOFRONT "Brings the window front, but does not switch to it"
211     ID_HELP_TOPICS          "Displays Task Manager help topics"
212     ID_HELP_ABOUT           "Displays program information, version number, and copyright"
213     ID_FILE_EXIT            "Exits the Task Manager application"
214     ID_OPTIONS_SHOW16BITTASKS
215                             "Shows 16-bit tasks under the associated ntvdm.exe"
216     ID_VIEW_SELECTCOLUMNS   "Select which columns will be visible on the Process page"
217     ID_VIEW_SHOWKERNELTIMES "Displays kernel time in the performance graphs"
218     ID_VIEW_CPUHISTORY_ONEGRAPHALL
219                             "A single history graph shows total CPU usage"
220     ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU "Each CPU has its own history graph"
221     ID_APPLICATION_PAGE_SWITCHTO
222                             "Brings a task to the foreground, switch focus to that task"
223 END
224
225 STRINGTABLE
226 BEGIN
227     ID_ENDTASK              "Tells the selected tasks to close"
228     ID_GOTOPROCESS          "Switches the focus to the process of the selected task"
229     ID_RESTORE              "Restores the Task Manager from its hidden state"
230     ID_PROCESS_PAGE_ENDPROCESS "Removes the process from the system"
231     ID_PROCESS_PAGE_ENDPROCESSTREE
232                             "Removes this process and all descendants from the system"
233     ID_PROCESS_PAGE_DEBUG   "Attaches the debugger to this process"
234     ID_PROCESS_PAGE_SETAFFINITY
235                             "Controls which processors the process will be allowed to run on"
236     ID_PROCESS_PAGE_SETPRIORITY_REALTIME
237                             "Sets process to the REALTIME priority class"
238     ID_PROCESS_PAGE_SETPRIORITY_HIGH "Sets process to the HIGH priority class"
239     ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL
240                             "Sets process to the ABOVE NORMAL priority class"
241     ID_PROCESS_PAGE_SETPRIORITY_NORMAL
242                             "Sets process to the NORMAL priority class"
243     ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL
244                             "Sets process to the BELOW NORMAL priority class"
245     ID_PROCESS_PAGE_SETPRIORITY_LOW "Sets process to the LOW priority class"
246     ID_PROCESS_PAGE_DEBUGCHANNELS
247                             "Controls Debug Channels"
248 END
249
250 STRINGTABLE
251 BEGIN
252     IDS_VIEW_LARGE                     "Lar&ge Icons"
253     IDS_VIEW_SMALL                     "S&mall Icons"
254     IDS_VIEW_DETAILS                   "&Details"
255     IDS_WINDOWS                        "&Windows"
256     IDS_VIEW_SELECTCOLUMNS             "&Select Columns..."
257     IDS_OPTIONS_SHOW16BITTASKS         "&Show 16-bit tasks"
258     IDS_VIEW_CPUHISTORY                "&CPU History"
259     IDS_VIEW_CPUHISTORY_ONEGRAPHALL    "&One Graph, All CPUs"
260     IDS_VIEW_CPUHISTORY_ONEGRAPHPERCPU "One Graph &Per CPU"
261     IDS_VIEW_SHOWKERNELTIMES           "&Show Kernel Times"
262     IDS_APPLICATIONS                   "Applications"
263     IDS_PROCESSES                      "Processes"
264     IDS_PERFORMANCE                    "Performance"
265     IDS_STATUS_BAR_CPU_USAGE           "CPU Usage: %3d%%"
266     IDS_STATUS_BAR_PROCESSES           "Processes: %d"
267     IDS_STATUS_BAR_MEMORY_USAGE        "Mem Usage: %dK / %dK"
268 END
269
270 STRINGTABLE
271 BEGIN
272     IDS_IMAGENAME         "Image Name"
273     IDS_PID               "PID"
274     IDS_CPUUSAGE          "CPU"
275     IDS_CPUTIME           "CPU Time"
276     IDS_MEMORYUSAGE       "Mem Usage"
277     IDS_MEMORYUSAGEDELTA  "Mem Delta"
278     IDS_PEAKMEMORYUSAGE   "Peak Mem Usage"
279     IDS_PAGEFAULTS        "Page Faults"
280     IDS_USEROBJECTS       "USER Objects"
281     IDS_IOREADS           "I/O Reads"
282     IDS_IOREADBYTES       "I/O Read Bytes"
283     IDS_SESSIONID         "Session ID"
284     IDS_USERNAME          "Username"
285     IDS_PAGEFAULTSDELTA   "PF Delta"
286     IDS_VIRTUALMEMORYSIZE "VM Size"
287     IDS_PAGEDPOOL         "Paged Pool"
288     IDS_NONPAGEDPOOL      "NP Pool"
289     IDS_BASEPRIORITY      "Base Pri"
290     IDS_HANDLECOUNT       "Handles"
291     IDS_THREADCOUNT       "Threads"
292     IDS_GDIOBJECTS        "GDI Objects"
293     IDS_IOWRITES          "I/O Writes"
294     IDS_IOWRITEBYTES      "I/O Write Bytes"
295     IDS_IOOTHER           "I/O Other"
296     IDS_IOOTHERBYTES      "I/O Other Bytes"
297 END
298
299 STRINGTABLE
300 BEGIN
301     IDS_WARNING_TITLE               "Task Manager Warning"
302     IDS_PRIORITY_CHANGE_MESSAGE     "WARNING: Changing the priority class of this process may\n\
303                                      cause undesired results including system instability. Are you\n\
304                                      sure you want to change the priority class?"
305     IDS_PRIORITY_UNABLE2CHANGE      "Unable to Change Priority"
306     IDS_TERMINATE_MESSAGE           "WARNING: Terminating a process can cause undesired\n\
307                                      results including loss of data and system instability. The\n\
308                                      process will not be given the chance to save its state or\n\
309                                      data before it is terminated. Are you sure you want to\n\
310                                      terminate the process?"
311     IDS_TERMINATE_UNABLE2TERMINATE  "Unable to Terminate Process"
312     IDS_DEBUG_MESSAGE               "WARNING: Debugging this process may result in loss of data.\n\
313                                      Are you sure you wish to attach the debugger?"
314     IDS_DEBUG_UNABLE2DEBUG          "Unable to Debug Process"
315     IDS_AFFINITY_ERROR_MESSAGE      "The process must have affinity with at least one processor"
316     IDS_AFFINITY_ERROR_TITLE        "Invalid Option"
317     IDS_AFFINITY_UNABLE2ACCESS      "Unable to Access or Set Process Affinity"
318 END
319
320 STRINGTABLE
321 BEGIN
322     IDS_SYSTEM_IDLE_PROCESS            "System Idle Process"
323     IDS_APPLICATION_NOT_RESPONDING     "Not Responding"
324     IDS_APPLICATION_RUNNING            "Running"
325     IDS_APPLICATION_TASK               "Task"
326     IDS_APPLICATION_STATUS             "Status"
327     IDS_DEBUG_CHANNEL                  "Debug Channels"
328     IDS_DEBUG_CHANNEL_FIXME            "Fixme"
329     IDS_DEBUG_CHANNEL_ERR              "Err"
330     IDS_DEBUG_CHANNEL_WARN             "Warn"
331     IDS_DEBUG_CHANNEL_TRACE            "Trace"
332 END
333
334 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
335
336 /*
337  Icon
338 */
339
340 /* Icon with lowest ID value placed first to ensure application icon
341    remains consistent on all systems. */
342 /* @makedep: taskmgr.ico */
343 IDI_TASKMANAGER         ICON taskmgr.ico
344
345 /* @makedep: window.ico */
346 IDI_WINDOW              ICON window.ico
347
348 /* @makedep: windowsm.ico */
349 IDI_WINDOWSM            ICON windowsm.ico
350
351 /*
352  Version
353 */
354
355 VS_VERSION_INFO VERSIONINFO
356  FILEVERSION 1,0,0,1
357  PRODUCTVERSION 1,0,0,1
358  FILEFLAGSMASK 0x3fL
359 #ifdef _DEBUG
360  FILEFLAGS 0x1L
361 #else
362  FILEFLAGS 0x0L
363 #endif
364  FILEOS 0x40004L
365  FILETYPE 0x1L
366  FILESUBTYPE 0x0L
367 BEGIN
368     BLOCK "StringFileInfo"
369     BEGIN
370         BLOCK "040904b0"
371         BEGIN
372             VALUE "CompanyName", "Brian Palmer\0"
373             VALUE "FileDescription", "Task Manager by Brian Palmer\0"
374             VALUE "FileVersion", "1.0.0.1\0"
375             VALUE "InternalName", "taskmgr\0"
376             VALUE "LegalCopyright", "Copyright © Brian Palmer 2000\0"
377             VALUE "OriginalFilename", "taskmgr.exe\0"
378             VALUE "ProductName", "Task Manager by Brian Palmer\0"
379             VALUE "ProductVersion", "1.0.0.1\0"
380         END
381     END
382     BLOCK "VarFileInfo"
383     BEGIN
384         VALUE "Translation", 0x409, 1200
385     END
386 END
387
388 /*
389  Bitmap
390 */
391
392 /* @makedep: traymask.bmp */
393 IDB_TRAYMASK            BITMAP traymask.bmp
394
395 /* @makedep: trayicon.bmp */
396 IDB_TRAYICON            BITMAP trayicon.bmp
397
398 /* @makedep: font.bmp */
399 IDB_FONT                BITMAP font.bmp