272 lines
15 KiB
Plaintext
272 lines
15 KiB
Plaintext
/*
|
||
* Task Manager
|
||
*
|
||
* Copyright 1999-2001 Brian Palmer
|
||
* Copyright 2010 Igor Paliychuk
|
||
*
|
||
*
|
||
* This library is free software; you can redistribute it and/or
|
||
* modify it under the terms of the GNU Lesser General Public
|
||
* License as published by the Free Software Foundation; either
|
||
* version 2.1 of the License, or (at your option) any later version.
|
||
*
|
||
* This library is distributed in the hope that it will be useful,
|
||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
* Lesser General Public License for more details.
|
||
*
|
||
* You should have received a copy of the GNU Lesser General Public
|
||
* License along with this library; if not, write to the Free Software
|
||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||
*/
|
||
|
||
#include "resource.h"
|
||
|
||
/* UTF-8 */
|
||
#pragma code_page(65001)
|
||
|
||
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
|
||
|
||
/*
|
||
Dialog
|
||
*/
|
||
|
||
IDD_TASKMGR_DIALOG DIALOG 0, 0, 264, 246
|
||
STYLE DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP |
|
||
WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU |
|
||
WS_THICKFRAME
|
||
CAPTION "Диспетчер завдань"
|
||
MENU IDR_TASKMANAGER
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
CONTROL "Tab1",IDC_TAB,"SysTabControl32",WS_TABSTOP,3,3,257,228
|
||
END
|
||
|
||
IDD_APPLICATION_PAGE DIALOG 0, 0, 247, 210
|
||
STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
CONTROL "List2",IDC_APPLIST,"SysListView32",LVS_REPORT |
|
||
LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,7,7,233,177
|
||
PUSHBUTTON "&Нове завдання...",IDC_NEWTASK,181,189,60,14
|
||
PUSHBUTTON "&Переключитись",IDC_SWITCHTO,120,189,55,14,WS_DISABLED
|
||
PUSHBUTTON "&Зняти завдання",IDC_ENDTASK,58,189,56,14,WS_DISABLED
|
||
END
|
||
|
||
IDD_PROCESS_PAGE DIALOG 0, 0, 247, 210
|
||
STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
CONTROL "List2",IDC_PROCESSLIST,"SysListView32",LVS_REPORT |
|
||
LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_OWNERDATA |
|
||
WS_BORDER | WS_TABSTOP,7,7,233,177
|
||
PUSHBUTTON "&Завершити процес",IDC_ENDPROCESS,171,189,69,14
|
||
CONTROL "&Показувати процеси всіх користувачів",IDC_SHOWALLPROCESSES,
|
||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,191,147,10
|
||
END
|
||
|
||
IDD_PERFORMANCE_PAGE DIALOGEX 0, 0, 247, 210
|
||
STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
GROUPBOX "Викорис. ЦП",IDC_CPU_USAGE_FRAME,5,5,62,54,WS_TABSTOP, WS_EX_TRANSPARENT
|
||
GROUPBOX "Викорис. пам'яті",IDC_MEM_USAGE_FRAME,5,63,62,54,BS_LEFTTEXT, WS_EX_TRANSPARENT
|
||
GROUPBOX "Всього",IDC_TOTALS_FRAME,5,122,111,39,0,WS_EX_TRANSPARENT
|
||
GROUPBOX "Виділення пам'яті (K)",IDC_COMMIT_CHARGE_FRAME,5,166,111,39,0,WS_EX_TRANSPARENT
|
||
GROUPBOX "Фізична пам'ять (K)",IDC_PHYSICAL_MEMORY_FRAME,131,122,111,39,0,WS_EX_TRANSPARENT
|
||
GROUPBOX "Пам'ять ядра (K)",IDC_KERNEL_MEMORY_FRAME,131,166,111,39,0,WS_EX_TRANSPARENT
|
||
LTEXT "Дескрипторів",IDS_TOTALS_HANDLE_COUNT,12,131,47,8
|
||
LTEXT "Потоків",IDS_TOTALS_THREAD_COUNT,12,140,27,8
|
||
LTEXT "Процесів",IDS_TOTALS_PROCESS_COUNT,12,149,34,8
|
||
EDITTEXT IDC_TOTALS_HANDLE_COUNT,65,131,45,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
EDITTEXT IDC_TOTALS_THREAD_COUNT,65,140,45,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
EDITTEXT IDC_TOTALS_PROCESS_COUNT,65,149,45,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
LTEXT "Всього",IDS_COMMIT_CHARGE_TOTAL,12,175,27,8
|
||
LTEXT "Межа",IDS_COMMIT_CHARGE_LIMIT,12,184,18,8
|
||
LTEXT "Пік",IDS_COMMIT_CHARGE_PEAK,12,193,34,8
|
||
EDITTEXT IDC_COMMIT_CHARGE_TOTAL,65,174,45,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
EDITTEXT IDC_COMMIT_CHARGE_LIMIT,65,184,45,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
EDITTEXT IDC_COMMIT_CHARGE_PEAK,65,193,45,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
LTEXT "Всього",IDS_PHYSICAL_MEMORY_TOTAL,137,131,27,8
|
||
LTEXT "Доступно",IDS_PHYSICAL_MEMORY_AVAILABLE,137,140,32,8
|
||
LTEXT "Системний кеш",IDS_PHYSICAL_MEMORY_SYSTEM_CACHE,137,149,53,8
|
||
EDITTEXT IDC_PHYSICAL_MEMORY_TOTAL,188,131,45,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
EDITTEXT IDC_PHYSICAL_MEMORY_AVAILABLE,188,140,45,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
EDITTEXT IDC_PHYSICAL_MEMORY_SYSTEM_CACHE,188,149,45,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
LTEXT "Всього",IDS_KERNEL_MEMORY_TOTAL,137,174,27,8
|
||
LTEXT "Вивантажувана",IDS_KERNEL_MEMORY_PAGED,137,184,53,8
|
||
LTEXT "Невивантажувана",IDS_KERNEL_MEMORY_NONPAGED,137,193,61,8
|
||
EDITTEXT IDC_KERNEL_MEMORY_TOTAL,198,174,35,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
EDITTEXT IDC_KERNEL_MEMORY_PAGED,198,184,35,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
EDITTEXT IDC_KERNEL_MEMORY_NONPAGED,198,193,35,8,ES_RIGHT |
|
||
ES_READONLY | ES_NUMBER | NOT WS_BORDER
|
||
GROUPBOX "Історія використання ЦП",IDC_CPU_USAGE_HISTORY_FRAME,74,5,168,54,0,WS_EX_TRANSPARENT
|
||
GROUPBOX "Історія використання пам'яті",IDC_MEMORY_USAGE_HISTORY_FRAME,74,63,168,54,0,WS_EX_TRANSPARENT
|
||
PUSHBUTTON "Вивід використання ЦП",IDC_CPU_USAGE_GRAPH,12,17,47,37,0,
|
||
WS_EX_CLIENTEDGE
|
||
PUSHBUTTON "Вивід використання пам'яті",IDC_MEM_USAGE_GRAPH,12,75,47,37,0,
|
||
WS_EX_CLIENTEDGE
|
||
PUSHBUTTON "Історія використання ЦП",IDC_CPU_USAGE_HISTORY_GRAPH,81,17,
|
||
153,37,0,WS_EX_CLIENTEDGE
|
||
PUSHBUTTON "Історія використання пам'яті",IDC_MEM_USAGE_HISTORY_GRAPH,81,75,
|
||
153,37,0,WS_EX_CLIENTEDGE
|
||
END
|
||
|
||
IDD_DEBUG_CHANNELS_DIALOG DIALOG 0, 0, 247, 210
|
||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "Канали налагодження"
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
CONTROL "List2",IDC_DEBUG_CHANNELS_LIST,"SysListView32",LVS_REPORT |
|
||
LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP |
|
||
LVS_SORTASCENDING,7,7,233,177
|
||
PUSHBUTTON "Закрити",IDOK,171,189,69,14
|
||
END
|
||
|
||
IDD_AFFINITY_DIALOG DIALOG 0, 0, 231, 154
|
||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "Відповідність процесорів"
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
DEFPUSHBUTTON "OK",IDOK,120,133,50,14
|
||
PUSHBUTTON "Скасувати",IDCANCEL,174,133,50,14
|
||
LTEXT "Відповідність процесорів визначає, на якому ЦП дозволено виконувати процес.",
|
||
IDC_STATIC,5,5,220,16
|
||
CONTROL "ЦП 0",IDC_CPU0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
|
||
11,28,37,10
|
||
CONTROL "ЦП 1",IDC_CPU1,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
|
||
WS_TABSTOP,11,41,37,10
|
||
CONTROL "ЦП 2",IDC_CPU2,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
|
||
WS_TABSTOP,11,54,37,10
|
||
CONTROL "ЦП 3",IDC_CPU3,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
|
||
WS_TABSTOP,11,67,37,10
|
||
CONTROL "ЦП 4",IDC_CPU4,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
|
||
WS_TABSTOP,11,80,37,10
|
||
CONTROL "ЦП 5",IDC_CPU5,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
|
||
WS_TABSTOP,11,93,37,10
|
||
CONTROL "ЦП 6",IDC_CPU6,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
|
||
WS_TABSTOP,11,106,37,10
|
||
CONTROL "ЦП 7",IDC_CPU7,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
|
||
WS_TABSTOP,11,119,37,10
|
||
CONTROL "ЦП 8",IDC_CPU8,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
|
||
WS_TABSTOP,61,28,37,10
|
||
CONTROL "ЦП 9",IDC_CPU9,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
|
||
WS_TABSTOP,61,41,37,10
|
||
CONTROL "ЦП 10",IDC_CPU10,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,61,54,41,10
|
||
CONTROL "ЦП 11",IDC_CPU11,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,61,67,41,10
|
||
CONTROL "ЦП 12",IDC_CPU12,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,61,80,41,10
|
||
CONTROL "ЦП 13",IDC_CPU13,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,61,93,41,10
|
||
CONTROL "ЦП 14",IDC_CPU14,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,61,106,41,10
|
||
CONTROL "ЦП 15",IDC_CPU15,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,61,119,41,10
|
||
CONTROL "ЦП 16",IDC_CPU16,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,116,28,41,10
|
||
CONTROL "ЦП 17",IDC_CPU17,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,116,41,41,10
|
||
CONTROL "ЦП 18",IDC_CPU18,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,116,54,41,10
|
||
CONTROL "ЦП 19",IDC_CPU19,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,116,67,41,10
|
||
CONTROL "ЦП 20",IDC_CPU20,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,116,80,41,10
|
||
CONTROL "ЦП 21",IDC_CPU21,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,116,93,41,10
|
||
CONTROL "ЦП 22",IDC_CPU22,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,116,106,41,10
|
||
CONTROL "ЦП 23",IDC_CPU23,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,116,119,41,10
|
||
CONTROL "ЦП 24",IDC_CPU24,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,175,28,41,10
|
||
CONTROL "ЦП 25",IDC_CPU25,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,175,41,41,10
|
||
CONTROL "ЦП 26",IDC_CPU26,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,175,54,41,10
|
||
CONTROL "ЦП 27",IDC_CPU27,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,175,67,41,10
|
||
CONTROL "ЦП 28",IDC_CPU28,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,175,80,41,10
|
||
CONTROL "ЦП 29",IDC_CPU29,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,175,93,41,10
|
||
CONTROL "ЦП 30",IDC_CPU30,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,175,106,41,10
|
||
CONTROL "ЦП 31",IDC_CPU31,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,175,119,41,10
|
||
END
|
||
|
||
IDD_COLUMNS_DIALOG DIALOG 0, 0, 227, 199
|
||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "Вибір стовпців"
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
DEFPUSHBUTTON "OK",IDOK,64,178,50,14
|
||
PUSHBUTTON "Скасувати",IDCANCEL,118,178,50,14
|
||
LTEXT "Виберіть стовпці, які будуть показані на сторінці процесів Диспетчера завдань.",
|
||
IDC_STATIC,7,7,181,17
|
||
CONTROL "&Ім'я образу",IDC_IMAGENAME,"Button",BS_AUTOCHECKBOX |
|
||
WS_DISABLED | WS_TABSTOP,7,28,56,10
|
||
CONTROL "&PID (Ідентиф. процесу)",IDC_PID,"Button",
|
||
BS_AUTOCHECKBOX | WS_TABSTOP,7,39,91,10
|
||
CONTROL "&Використання ЦП",IDC_CPUUSAGE,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,7,50,71,10
|
||
CONTROL "&Час ЦП",IDC_CPUTIME,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,7,61,48,10
|
||
CONTROL "&Пам'ять - використання",IDC_MEMORYUSAGE,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,7,72,92,10
|
||
CONTROL "Пам'ять - змі&на",IDC_MEMORYUSAGEDELTA,"Button",
|
||
BS_AUTOCHECKBOX | WS_TABSTOP,7,83,82,10
|
||
CONTROL "Пам'ять - &максимум",IDC_PEAKMEMORYUSAGE,"Button",
|
||
BS_AUTOCHECKBOX | WS_TABSTOP,7,94,82,10
|
||
CONTROL "П&омилок сторінки",IDC_PAGEFAULTS,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,7,105,73,10
|
||
CONTROL "О&б'єкти USER",IDC_USEROBJECTS,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,7,116,62,10
|
||
CONTROL "Кількість читань",IDC_IOREADS,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,7,127,68,10
|
||
CONTROL "Прочитано байтів",IDC_IOREADBYTES,"Button",
|
||
BS_AUTOCHECKBOX | WS_TABSTOP,7,138,72,10
|
||
CONTROL "Код се&ансу",IDC_SESSIONID,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,7,149,50,10
|
||
CONTROL "Ім'&я користувача",IDC_USERNAME,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,7,160,70,10
|
||
CONTROL "Помилок &сторінки - зміна",IDC_PAGEFAULTSDELTA,"Button",
|
||
BS_AUTOCHECKBOX | WS_TABSTOP,107,28,72,10
|
||
CONTROL "Об'єм віртуальної пам'яті",IDC_VIRTUALMEMORYSIZE,"Button",
|
||
BS_AUTOCHECKBOX | WS_TABSTOP,107,39,100,10
|
||
CONTROL "Виванта&жуваний пул",IDC_PAGEDPOOL,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,107,50,88,10
|
||
CONTROL "Невив&антажуваний пул",IDC_NONPAGEDPOOL,"Button",
|
||
BS_AUTOCHECKBOX | WS_TABSTOP,107,61,96,10
|
||
CONTROL "Базови&й пріоритет",IDC_BASEPRIORITY,"Button",
|
||
BS_AUTOCHECKBOX | WS_TABSTOP,107,72,75,10
|
||
CONTROL "Лічильник &дескрипторів",IDC_HANDLECOUNT,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,107,83,98,10
|
||
CONTROL "&Лічильник потоків",IDC_THREADCOUNT,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,107,94,79,10
|
||
CONTROL "Об'&єкти GDI",IDC_GDIOBJECTS,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,107,105,55,10
|
||
CONTROL "Кількість записів",IDC_IOWRITES,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,107,116,73,10
|
||
CONTROL "Записано байтів",IDC_IOWRITEBYTES,"Button",
|
||
BS_AUTOCHECKBOX | WS_TABSTOP,107,127,69,10
|
||
CONTROL "Інший ввід-вивід",IDC_IOOTHER,"Button",BS_AUTOCHECKBOX |
|
||
WS_TABSTOP,107,138,71,10
|
||
CONTROL "Інших байтів при вводі-виводі",IDC_IOOTHERBYTES,"Button",
|
||
BS_AUTOCHECKBOX | WS_TABSTOP,107,149,114,10
|
||
END
|