|
// 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.