summaryrefslogtreecommitdiff
path: root/win/propssht.cpp
blob: 8cbffedd2b7d653d81c83960220c7487bbd7e74e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// PropsSht.cpp : implementation file
//

#include "stdafx.h"
#include "resource.h"
#include "PropsSht.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPropertiesSheet

IMPLEMENT_DYNAMIC(CPropertiesSheet, CPropertySheet)

CPropertiesSheet::CPropertiesSheet(CWnd* pWndParent)
	 : CPropertySheet("", pWndParent)
{
	AddPage(&m_PageGeneral);
	AddPage(&m_PageSummary);
	AddPage(&m_PagePieces);
	m_psh.dwFlags |= PSH_NOAPPLYNOW;
	SetActivePage(1);
}

CPropertiesSheet::~CPropertiesSheet()
{
}


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


/////////////////////////////////////////////////////////////////////////////
// CPropertiesSheet message handlers