Click here to Skip to main content
15,885,546 members
Articles / Desktop Programming / MFC

Include File Hierarchy Viewer

Rate me:
Please Sign up or sign in to vote.
4.84/5 (108 votes)
29 Jul 2003CPOL8 min read 380.6K   4.5K   151  
A tool to view the include file hierarchy of your source code.
//====================================================================
// Although great care has gone into developing this software,
// it is provided without any guarantee of reliability, accuracy
// of information, or correctness of operation.  I am not responsible
// for any damages that may occur as a result of using this software.
// Use this software entirely at your own risk.
// Copyright 2003, Chris Richardson
//
// Description: Base class for search property pages.
//
//====================================================================

#include "stdafx.h"
#include "incfinder.h"
#include "SearchPropertyPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSearchPropertyPage Implementation.
/////////////////////////////////////////////////////////////////////////////

IMPLEMENT_DYNCREATE(CSearchPropertyPage, CPropertyPage)

CSearchPropertyPage::CSearchPropertyPage( UINT p_uiResourceID ) :
   CPropertyPage( p_uiResourceID )
{
	//{{AFX_DATA_INIT(CSearchPropertyPage)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}
//
// ------------------------------------------------------------------
//
CSearchPropertyPage::~CSearchPropertyPage()
{
}
//
// ------------------------------------------------------------------
//
void CSearchPropertyPage::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSearchPropertyPage)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}
//
// ------------------------------------------------------------------
//


BEGIN_MESSAGE_MAP(CSearchPropertyPage, CPropertyPage)
	//{{AFX_MSG_MAP(CSearchPropertyPage)
	ON_BN_CLICKED(IDC_HIDDEN_START_STOP, OnHiddenStartStop)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSearchPropertyPage non-message handlers
/////////////////////////////////////////////////////////////////////////////

CFileIterator * CSearchPropertyPage::PrepareToStart()
{
   return NULL;
}
//
// ------------------------------------------------------------------
//
void CSearchPropertyPage::SearchStopped()
{
   // Base class doesn't have much to do.
}

/////////////////////////////////////////////////////////////////////////////
// CSearchPropertyPage message handlers
/////////////////////////////////////////////////////////////////////////////

void CSearchPropertyPage::OnHiddenStartStop() 
{
   CWnd * a_poView = GetParent()->GetParent();
   a_poView->PostMessage( WM_COMMAND, MAKELONG( IDC_START_STOP, BN_CLICKED ), (LPARAM)a_poView->GetDlgItem( IDC_START_STOP )->m_hWnd );
}
//
// ------------------------------------------------------------------
//

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 Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
I like to program, I like to sail.

Comments and Discussions