Leaked source code of windows server 2003
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.

73 lines
2.1 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000-2001 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // WelcomePage.h
  7. //
  8. // Maintained By:
  9. // David Potter (DavidP) 26-MAR-2001
  10. // Geoffrey Pease (GPease) 12-MAY-2000
  11. //
  12. //////////////////////////////////////////////////////////////////////////////
  13. // Make sure that this file is included only once per compile path.
  14. #pragma once
  15. //////////////////////////////////////////////////////////////////////////////
  16. // Include Files
  17. //////////////////////////////////////////////////////////////////////////////
  18. //////////////////////////////////////////////////////////////////////////////
  19. // Constant Declarations
  20. //////////////////////////////////////////////////////////////////////////////
  21. //////////////////////////////////////////////////////////////////////////////
  22. //++
  23. //
  24. // class CWelcomePage
  25. //
  26. // Description:
  27. // The class CWelcomePage is class the for the welcome page in the
  28. // wizard.
  29. //
  30. //--
  31. //////////////////////////////////////////////////////////////////////////////
  32. class CWelcomePage
  33. {
  34. private:
  35. //
  36. // Private member functions and data
  37. //
  38. HWND m_hwnd; // Our HWND
  39. HFONT m_hFont; // Title font
  40. CClusCfgWizard * m_pccw; // Wizard
  41. ECreateAddMode m_ecamCreateAddMode; // Creating? Adding?
  42. // Private copy constructor to prevent copying.
  43. CWelcomePage( const CWelcomePage & nodeSrc );
  44. // Private assignment operator to prevent copying.
  45. const CWelcomePage & operator = ( const CWelcomePage & nodeSrc );
  46. LRESULT OnInitDialog( void );
  47. LRESULT OnNotifyWizNext( void );
  48. LRESULT OnNotify( WPARAM idCtrlIn, LPNMHDR pnmhdrIn );
  49. public:
  50. //
  51. // Public, non interface methods.
  52. //
  53. CWelcomePage( CClusCfgWizard * pccwIn, ECreateAddMode ecamCreateAddModeIn );
  54. virtual ~CWelcomePage( void );
  55. static INT_PTR CALLBACK S_DlgProc( HWND hwndDlg, UINT nMsg, WPARAM wParam, LPARAM lParam );
  56. }; //*** class CWelcomePage