Click here to Skip to main content
12,289,438 members (32,609 online)
Click here to Skip to main content

Stats

49.9K views
727 downloads
21 bookmarked
Posted

ShowWindowTree Utility

, 19 Jan 2002
Display the hierarchy of windows (hidden or not) on your system along with a few options to modifiy them
// ShowWindowTree.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "ShowWindowTree.h"
#include "ShowWindowTreedlg.h"

#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CShowWinTreeApp

BEGIN_MESSAGE_MAP(CShowWindowTreeApp, CWinApp)
	//{{AFX_MSG_MAP(CShowWindowTreeApp)
	//}}AFX_MSG
	ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CShowWinTreeApp construction

CShowWindowTreeApp::CShowWindowTreeApp()
{
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CShowWinTreeApp object

CShowWindowTreeApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CShowWinTreeApp initialization

BOOL CShowWindowTreeApp::InitInstance()
{
	CShowWindowTreeDlg dlg;
	m_pMainWnd = &dlg;
	int nResponse = dlg.DoModal();
	if (nResponse == IDOK)
	{
	}
	else if (nResponse == IDCANCEL)
	{
	}

	return FALSE;
}

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Rocky Moore
President
United States United States
Computer geek since the beginning of time, well, at least since 1981. Started with the Commodore VIC-20 with 3.5K RAM. Past two decades spent with C/C++, MFC and now totally consumed with .NET and C#.

Business owner here in beautiful southern Oregon with mountains, clean air and pure water. Great outdoors to enjoy when I can get away from the computers.

Web sites of interest:

HintsAndTips.com
TheAwakening.com
My Blog: www.ReflectedThought.com
www.SilverlightCity.com
www.TheSaintsInLight.com
www.TheSilverlightDirectory.com
www.TheWPFDirectory.com

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160518.1 | Last Updated 20 Jan 2002
Article Copyright 2002 by Rocky Moore
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid