taskmgr.rc 27 KB

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