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.

35 lines
938 B

  1. // WizSht.cpp: implementation of the CRsWizardSheet class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #include "stdafx.h"
  5. #include "WizSht.h"
  6. #include "PropPage.h"
  7. //////////////////////////////////////////////////////////////////////
  8. // Construction/Destruction
  9. //////////////////////////////////////////////////////////////////////
  10. CRsWizardSheet::CRsWizardSheet( UINT nIDCaption, CWnd *pParentWnd, UINT iSelectPage ) :
  11. CPropertySheet( nIDCaption, pParentWnd, iSelectPage )
  12. {
  13. // save the caption
  14. m_IdCaption = nIDCaption;
  15. }
  16. void CRsWizardSheet::AddPage( CRsWizardPage* pPage )
  17. {
  18. AFX_MANAGE_STATE( AfxGetStaticModuleState( ) );
  19. CString strCaption;
  20. // Take the caption from our sheet class and put it in the page
  21. strCaption.LoadString( m_IdCaption );
  22. pPage->SetCaption( strCaption );
  23. CPropertySheet::AddPage( pPage );
  24. }
  25. CRsWizardSheet::~CRsWizardSheet()
  26. {
  27. }