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.

70 lines
1.2 KiB

  1. // Copyright (c) 2001 Microsoft Corporation
  2. //
  3. // File: WelcomePage.h
  4. //
  5. // Synopsis: Declares the Welcome Page for the CYS
  6. // wizard
  7. //
  8. // History: 02/03/2001 JeffJon Created
  9. #ifndef __CYS_WELCOMEPAGE_H
  10. #define __CYS_WELCOMEPAGE_H
  11. #include "CYSWizardPage.h"
  12. class WelcomePage : public CYSWizardPage
  13. {
  14. public:
  15. // Constructor
  16. WelcomePage();
  17. // Destructor
  18. virtual
  19. ~WelcomePage();
  20. // Dialog overrides
  21. virtual
  22. void
  23. OnInit();
  24. virtual
  25. HBRUSH
  26. OnCtlColorStatic(
  27. HDC /*deviceContext*/,
  28. HWND /*dialog*/) { return 0; }
  29. // PropertyPage overrides
  30. virtual
  31. bool
  32. OnSetActive();
  33. virtual
  34. bool
  35. OnNotify(
  36. HWND windowFrom,
  37. UINT_PTR controlIDFrom,
  38. UINT code,
  39. LPARAM lParam);
  40. protected:
  41. virtual
  42. int
  43. Validate();
  44. private:
  45. // not defined: no copying allowed
  46. WelcomePage(const WelcomePage&);
  47. const WelcomePage& operator=(const WelcomePage&);
  48. };
  49. #endif // __CYS_WELCOMEPAGE_H