Click here to Skip to main content
15,878,953 members
Articles / Desktop Programming / MFC

Task Manager Extension 2.0

Rate me:
Please Sign up or sign in to vote.
4.92/5 (149 votes)
22 Jan 2007CDDL11 min read 596.5K   18.7K   263  
Task Manager Extension. This is a Windows Task Manager (NT/2000/XP/2003) plug-in. It adds lots of useful features to the standard Task Manager. It can show process modules, memory map, used handles, open files, file properties and a lot of other info!
// OptionsPropertyPages.h : header file
//

#ifndef __OPTIONSPROPERTYPAGES_H__
#define __OPTIONSPROPERTYPAGES_H__

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

#include "ColorBox.h"

/////////////////////////////////////////////////////////////////////////////
// COptionsPropertyPageGeneral dialog

class COptionsPropertyPageGeneral : public CPropertyPage
{
	DECLARE_DYNCREATE(COptionsPropertyPageGeneral)

// Construction
public:
	COptionsPropertyPageGeneral();
	~COptionsPropertyPageGeneral();

// Dialog Data
	//{{AFX_DATA(COptionsPropertyPageGeneral)
	enum { IDD = IDD_OPTIONS_PROPPAGE_GENERAL };
	BOOL	m_bAutoRun;
	BOOL	m_bSplash;
	BOOL	m_bTips;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(COptionsPropertyPageGeneral)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CToolTipCtrlMine m_tooltip;

	// Generated message map functions
	//{{AFX_MSG(COptionsPropertyPageGeneral)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};


/////////////////////////////////////////////////////////////////////////////
// COptionsPropertyPageOther dialog

class COptionsPropertyPageOther : public CPropertyPage
{
	DECLARE_DYNCREATE(COptionsPropertyPageOther)

// Construction
public:
	COptionsPropertyPageOther();
	~COptionsPropertyPageOther();

// Dialog Data
	//{{AFX_DATA(COptionsPropertyPageOther)
	enum { IDD = IDD_OPTIONS_PROPPAGE_OTHER };
	CColorBox	m_wndAlertColor;
	CColorBox	m_wndServiceColor;
	CColorBox	m_wndProcessColor;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(COptionsPropertyPageOther)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CToolTipCtrlMine m_tooltip;

	// Generated message map functions
	//{{AFX_MSG(COptionsPropertyPageOther)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};



#endif // __OPTIONSPROPERTYPAGES_H__

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Common Development and Distribution License (CDDL)


Written By
Software Developer (Senior)
Belarus Belarus
He is a young and forward-looking software developer. He also has lots of interesting hobbies like snowboarding, bicycle riding, carting racing and of course talking about himself in a third person. Smile | :)

github.com/kolomenkin

Curriculum Vitae

Comments and Discussions