Click here to Skip to main content
15,881,938 members
Articles / Desktop Programming / ATL

VS File Finder

Rate me:
Please Sign up or sign in to vote.
4.90/5 (39 votes)
8 May 20053 min read 222.7K   3.3K   37  
A Visual Studio add-in to help navigate around large projects.
// VSFileFinderCtrlPropPage.cpp : Implementation of the CVSFileFinderCtrlPropPage property page class.

#include "stdafx.h"
#include "VSFileFinderCtrl.h"
#include "VSFileFinderCtrlPropPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


IMPLEMENT_DYNCREATE(CVSFileFinderCtrlPropPage, COlePropertyPage)



// Message map

BEGIN_MESSAGE_MAP(CVSFileFinderCtrlPropPage, COlePropertyPage)
END_MESSAGE_MAP()



// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CVSFileFinderCtrlPropPage, "VSFILEFINDERCT.VSFileFinderCtPropPage.1",
	0xf2372dd5, 0x53a4, 0x427b, 0xaf, 0x10, 0x98, 0xfc, 0xad, 0x70, 0xaa, 0xe3)



// CVSFileFinderCtrlPropPage::CVSFileFinderCtrlPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CVSFileFinderCtrlPropPage

BOOL CVSFileFinderCtrlPropPage::CVSFileFinderCtrlPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_VSFILEFINDERCTRL_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}



// CVSFileFinderCtrlPropPage::CVSFileFinderCtrlPropPage - Constructor

CVSFileFinderCtrlPropPage::CVSFileFinderCtrlPropPage() :
	COlePropertyPage(IDD, IDS_VSFILEFINDERCTRL_PPG_CAPTION)
{
}



// CVSFileFinderCtrlPropPage::DoDataExchange - Moves data between page and properties

void CVSFileFinderCtrlPropPage::DoDataExchange(CDataExchange* pDX)
{
	DDP_PostProcessing(pDX);
}



// CVSFileFinderCtrlPropPage message handlers

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


Written By
Web Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions