主要界面如下:
主要代碼如下:
ASSERT((IDM_ABOUTBOX & ) == ASSERT(IDM_ABOUTBOX < CMenu* pSysMenu = (pSysMenu != (! pSysMenu-> pSysMenu-> SetIcon(m_hIcon, TRUE); SetIcon(m_hIcon, FALSE); lStyle = lStyle &= ~ lStyle |= DWORD dwStyle = dwStyle |= dwStyle |= m_ctrlList.InsertColumn(, _T(), LVCFMT_LEFT, m_ctrlList.InsertColumn(, _T(), LVCFMT_LEFT, m_ctrlList.InsertColumn(, _T(), LVCFMT_LEFT, m_ctrlList.InsertColumn(, _T(), LVCFMT_LEFT, TRUE; ((nID & ) == CPaintDC dc(); SendMessage(WM_ICONERASEBKGND, reinterpret_cast<WPARAM>(dc.GetSafeHdc()), cxIcon = cyIcon = GetClientRect(& x = (rect.Width() - cxIcon + ) / y = (rect.Height() - cyIcon + ) / static_cast<HCURSOR> CEnumProcessDlg::ListProcess( hProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, (hProcessSnap == strErr.Format(_T( pe32.dwSize = index = (!Process32First(hProcessSnap, & strErr.Format(_T( strID.Format(_T( m_ctrlList.SetItemText(index, strID.Format(_T( m_ctrlList.SetItemText(index, strID.Format(_T( m_ctrlList.SetItemText(index++, } (Process32Next(hProcessSnap, & CEnumProcessDlg::OnContextMenu(CWnd* (menu.CreatePopupMenu() == (pWnd == & menu.AppendMenu(MF_STRING , ID_SCANMODULE , _T( (m_ctrlList.GetSelectedCount() < menu.EnableMenuItem(ID_SCANMODULE , MF_DISABLED | menu.TrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON, point.x, point.y, CString strProcessID = m_ctrlList.GetItemText(m_ctrlList.GetSelectionMark(), dlgProcessModule.m_dwProcessID = _tcstoul(strProcessID, , CEnumProcessDlg::OnNMDblclkListProcess(NMHDR *pNMHDR, LRESULT * CString strProcessID = m_ctrlList.GetItemText(m_ctrlList.GetSelectionMark(), dlgProcessModule.m_dwProcessID = _tcstoul(strProcessID, , *pResult = }
下載地址如下:
http://pan.baidu.com/s/1gdeJ3xT