| 56 | } |
| 57 | |
| 58 | void CMainFrame::InitProcessTable() { |
| 59 | BarDesc bars[] = { |
| 60 | {19,"������",0}, |
| 61 | {19,"����ID",0}, |
| 62 | {9,"�Ự",0}, |
| 63 | {20,"�û���",0}, |
| 64 | {12,"���ȼ�",0}, |
| 65 | {9,"�߳���",0}, |
| 66 | {9,"�����",0}, |
| 67 | {19,"����",0}, |
| 68 | {20,"����ʱ��",0}, |
| 69 | {30,"����",0}, |
| 70 | {20,"�����",0}, |
| 71 | {20,"�ļ��汾",0}, |
| 72 | {56,"ӳ��·��",0}, |
| 73 | {856,"�������",0} |
| 74 | }; |
| 75 | TableInfo table = { |
| 76 | 1,1,TABLE_SORTMENU | TABLE_COPYMENU | TABLE_APPMENU,9,0,0,0 |
| 77 | }; |
| 78 | |
| 79 | BarInfo info; |
| 80 | info.nbar = _countof(bars); |
| 81 | info.font = 9; |
| 82 | for (int i = 0; i < info.nbar; i++) { |
| 83 | info.bar[i].defdx = bars[i].defdx; |
| 84 | info.bar[i].mode = bars[i].mode; |
| 85 | info.bar[i].name = bars[i].name; |
| 86 | } |
| 87 | |
| 88 | m_pProcTable = new CProcessTable(info, table); |
| 89 | m_hWndClient = m_pProcTable->Create(m_hWnd, rcDefault, nullptr, WS_CHILD | WS_VSCROLL | WS_HSCROLL | WS_BORDER | WS_EX_LAYERED| WS_CLIPSIBLINGS | WS_CLIPCHILDREN); |
| 90 | m_pProcTable->ShowWindow(SW_SHOW); |
| 91 | m_pProcTable->m_Images.Create(16, 16, ILC_COLOR32, 64, 32); |
| 92 | m_pProcTable->Refresh(); |
| 93 | m_hwndArray[static_cast<int>(TabColumn::Process)] = m_pProcTable->m_hWnd; |
| 94 | } |
| 95 | |
| 96 | void CMainFrame::InitNetworkTable() { |
| 97 | BarDesc bars[] = { |