Click here to Skip to main content
13,141,354 members (89,060 online)
Click here to Skip to main content

Stats

216.7K views
5.4K downloads
82 bookmarked
Posted 31 Jan 2000

Automatic Tab Bar for MDI Frameworks

, 3 Jan 2003
A dockable bar containing a tabbed list of open windows
// DemoPropertySheet.cpp : implementation file
//

#include "stdafx.h"
#include "resource.h"
#include "DemoPropertySheet.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDemoPropertySheet

IMPLEMENT_DYNAMIC(CDemoPropertySheet, CPropertySheet)

CDemoPropertySheet::CDemoPropertySheet(CWnd* pWndParent)
	 : CPropertySheet(IDS_PROPSHT_CAPTION, pWndParent)
{
	// Add all of the property pages here.  Note that
	// the order that they appear in here will be
	// the order they appear in on screen.  By default,
	// the first page of the set is the active one.
	// One way to make a different property page the 
	// active one is to call SetActivePage().
	m_psh.dwFlags |= PSH_NOAPPLYNOW;

	AddPage(&m_Page1);
	AddPage(&m_Page2);
}

CDemoPropertySheet::~CDemoPropertySheet()
{
}


BEGIN_MESSAGE_MAP(CDemoPropertySheet, CPropertySheet)
	//{{AFX_MSG_MAP(CDemoPropertySheet)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// CDemoPropertySheet 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, along with any associated source code and files, is licensed under A Public Domain dedication

Share

About the Author

Paul Selormey
Engineer
Japan Japan
Systems Engineer

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.170915.1 | Last Updated 4 Jan 2003
Article Copyright 2000 by Paul Selormey
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid