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.

68 lines
1.5 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1991-1996 **/
  4. /**********************************************************************/
  5. /*
  6. WizBaseD.cpp
  7. CPropertyPage support for User management wizard
  8. FILE HISTORY:
  9. jony Apr-1996 created
  10. */
  11. #include "stdafx.h"
  12. #include "Speckle.h"
  13. #include "WizBaseD.h"
  14. #ifdef _DEBUG
  15. #undef THIS_FILE
  16. static char THIS_FILE[] = __FILE__;
  17. #endif
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CWizBaseDlg property page
  20. IMPLEMENT_DYNCREATE(CWizBaseDlg, CPropertyPage)
  21. CWizBaseDlg::CWizBaseDlg() : CPropertyPage(CWizBaseDlg::IDD)
  22. {
  23. //{{AFX_DATA_INIT(CWizBaseDlg)
  24. // NOTE: the ClassWizard will add member initialization here
  25. //}}AFX_DATA_INIT
  26. }
  27. CWizBaseDlg::~CWizBaseDlg()
  28. {
  29. }
  30. CWizBaseDlg::CWizBaseDlg(short sIDD) : CPropertyPage(sIDD)
  31. {
  32. }
  33. void CWizBaseDlg::DoDataExchange(CDataExchange* pDX)
  34. {
  35. CPropertyPage::DoDataExchange(pDX);
  36. //{{AFX_DATA_MAP(CWizBaseDlg)
  37. // NOTE: the ClassWizard will add DDX and DDV calls here
  38. //}}AFX_DATA_MAP
  39. }
  40. BEGIN_MESSAGE_MAP(CWizBaseDlg, CPropertyPage)
  41. //{{AFX_MSG_MAP(CWizBaseDlg)
  42. //}}AFX_MSG_MAP
  43. END_MESSAGE_MAP()
  44. /////////////////////////////////////////////////////////////////////////////
  45. // CWizBaseDlg message handlers
  46. void CWizBaseDlg::SetButtonAccess(short sFlags)
  47. {
  48. CPropertySheet* cp = (CPropertySheet*)GetParent();
  49. cp->SetWizardButtons(sFlags);
  50. }