Click here to Skip to main content
15,896,118 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 598.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!
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__8659E6B5_4DF1_4F4C_BF70_FF0A41A38CA8__INCLUDED_)
#define AFX_STDAFX_H__8659E6B5_4DF1_4F4C_BF70_FF0A41A38CA8__INCLUDED_

#define WINVER	0x0500

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

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxdisp.h>        // MFC Automation classes
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxtempl.h>

#include <assert.h>
#undef ASSERT
#define ASSERT assert

#ifndef SIZEOF_ARRAY
#define SIZEOF_ARRAY(arr) (sizeof(arr)/sizeof(arr[0]))
#endif

#define INT_TO_STR(x) #x
#define INT_TO_STR2(x) INT_TO_STR((x))
#define WARNING __FILE__  INT_TO_STR2(__LINE__) " : warning: "
//#pragma message (WARNING "Sample Text")
//#pragma message (WARNING "Hardcoded string!")

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

//#include "FlatToolTipCtrl.h"
typedef CToolTipCtrl CToolTipCtrlMine;
//typedef CToolTipCtrlEx CToolTipCtrlMine;

//#define TOOLTIP(id) m_tooltip.AddTool(GetDlgItem(id), id)
#define TOOLTIP(id) m_tooltip.AddTool( GetDlgItem(id), LocLoadString( id ) );

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

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

#endif // !defined(AFX_STDAFX_H__8659E6B5_4DF1_4F4C_BF70_FF0A41A38CA8__INCLUDED_)

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