⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 processdirview.h

📁 关于进程&线程查看器 用过vc++自带的Process Viewer
💻 H
字号:
/*
 +------------------------------------------------------------+
 |															  |
 | (c) Copyright 2002, bigwhite, Inc.						  |
 |															  |
 | ALL RIGHTS RESERVED										  |
 |															  |
 +------------------------------------------------------------+
*/

 
/*==================================================================*
 * processdirView.h : interface of the CProcessdirView class        |
 *  Version 1.1                                                     |
 *=================================================================*/
//

// 
//
/////////////////////////////////////////////////////////////////////////////
#include"MainFrm.h"
#include"ProcessInfo.h"

#include "processdirDoc.h"//让我不解
#if !defined(AFX_PROCESSDIRVIEW_H__FAAE2BB3_6A6F_42A1_B161_3FF13B14F69C__INCLUDED_)
#define AFX_PROCESSDIRVIEW_H__FAAE2BB3_6A6F_42A1_B161_3FF13B14F69C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CProcessdirView : public CListView
{
protected: // create from serialization only
	CProcessdirView();
	DECLARE_DYNCREATE(CProcessdirView)
   
// Attributes
public:
	CProcessdirDoc* GetDocument();
    void ShowProcessInfo();//在该视图中显示进程信息

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CProcessdirView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CProcessdirView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:CImageList m_ilSmall;//该视图的图形列表对象
          
           	
		  // Generated message map functions
protected:
	//{{AFX_MSG(CProcessdirView)
	afx_msg void OnProcessKill();//杀掉选中的进程
	afx_msg void OnProcessRefresh();//进程列表刷新
	afx_msg void OnUpdateProcessKill(CCmdUI* pCmdUI);
	afx_msg void OnItemchanged(NMHDR* pNMHDR, LRESULT* pResult);//选中项目切换时的处理程序
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in processdirView.cpp
inline CProcessdirDoc* CProcessdirView::GetDocument()
   { return (CProcessdirDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROCESSDIRVIEW_H__FAAE2BB3_6A6F_42A1_B161_3FF13B14F69C__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -