Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// WizSht.cpp: implementation of the CRsWizardSheet class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "WizSht.h"
#include "PropPage.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CRsWizardSheet::CRsWizardSheet( UINT nIDCaption, CWnd *pParentWnd, UINT iSelectPage ) : CPropertySheet( nIDCaption, pParentWnd, iSelectPage ) { // save the caption
m_IdCaption = nIDCaption; }
void CRsWizardSheet::AddPage( CRsWizardPage* pPage ) { AFX_MANAGE_STATE( AfxGetStaticModuleState( ) ); CString strCaption;
// Take the caption from our sheet class and put it in the page
strCaption.LoadString( m_IdCaption ); pPage->SetCaption( strCaption );
CPropertySheet::AddPage( pPage );
}
CRsWizardSheet::~CRsWizardSheet() {
}
|