Click here to Skip to main content
15,880,469 members
Articles / Desktop Programming / MFC

CTreePropSheet - A Netscape/Visual Studio .NET like Preferences Dialog

Rate me:
Please Sign up or sign in to vote.
4.94/5 (144 votes)
6 Mar 20038 min read 974K   12.4K   327  
This framework introduces a property sheet, based on the original Windows property sheet (derived from CPropertySheet) which uses a tree control to browse the pages instead of a tab control
// PropPageServerOutgoing.cpp: Implementierungsdatei
//

#include "stdafx.h"
#include "TreePropSheetDemo.h"
#include "PropPageServerOutgoing.h"

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

/////////////////////////////////////////////////////////////////////////////
// Eigenschaftenseite CPropPageServerOutgoing 

IMPLEMENT_DYNCREATE(CPropPageServerOutgoing, CPropertyPage)

CPropPageServerOutgoing::CPropPageServerOutgoing() : CPropertyPage(CPropPageServerOutgoing::IDD)
{
	//{{AFX_DATA_INIT(CPropPageServerOutgoing)
	//}}AFX_DATA_INIT
}

CPropPageServerOutgoing::~CPropPageServerOutgoing()
{
}

void CPropPageServerOutgoing::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CPropPageServerOutgoing)
		// HINWEIS: Der Klassen-Assistent f�gt hier DDX- und DDV-Aufrufe ein
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CPropPageServerOutgoing, CPropertyPage)
	//{{AFX_MSG_MAP(CPropPageServerOutgoing)
		// HINWEIS: Der Klassen-Assistent f�gt hier Zuordnungsmakros f�r Nachrichten ein
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Behandlungsroutinen f�r Nachrichten CPropPageServerOutgoing 

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
Germany Germany
Sven Wiegand (1976), IT professional living in Berlin (Germany), develops open source software in his free time. His most successfull project is the LaTeX IDE TeXnicCenter which is distributed under the terms of the GNU-GPL and has more than 100,000 users all about the world.

"The picture shows me with my racing bike on the top of the Roque de los Muchachos (2426m) - the highest point of the canarian island La Palma."

Comments and Discussions