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.

87 lines
1.5 KiB

  1. // Copyright (c) 2001 Microsoft Corporation
  2. //
  3. // File: CustomServerPage.h
  4. //
  5. // Synopsis: Declares the Custom Server Page for the CYS
  6. // wizard
  7. //
  8. // History: 02/06/2001 JeffJon Created
  9. #ifndef __CYS_CUSTOMSERVERPAGE_H
  10. #define __CYS_CUSTOMSERVERPAGE_H
  11. #include "CYSWizardPage.h"
  12. class CustomServerPage : public CYSWizardPage
  13. {
  14. public:
  15. // Constructor
  16. CustomServerPage();
  17. // Destructor
  18. virtual
  19. ~CustomServerPage();
  20. // Dialog overrides
  21. virtual
  22. void
  23. OnInit();
  24. // PropertyPage overrides
  25. virtual
  26. bool
  27. OnSetActive();
  28. protected:
  29. // Message handlers
  30. virtual
  31. bool
  32. OnNotify(
  33. HWND windowFrom,
  34. UINT_PTR controlIDFrom,
  35. UINT code,
  36. LPARAM lParam);
  37. // CYSWizardPage overrides
  38. virtual
  39. int
  40. Validate();
  41. void
  42. InitializeServerListView();
  43. void
  44. FillServerTypeList();
  45. void
  46. SetDescriptionForSelection();
  47. void
  48. SetNextButtonState();
  49. private:
  50. void
  51. MakeRoleStaticBold();
  52. InstallationUnit&
  53. GetInstallationUnitFromSelection(
  54. int currentSelection);
  55. // not defined: no copying allowed
  56. CustomServerPage(const CustomServerPage&);
  57. const CustomServerPage& operator=(const CustomServerPage&);
  58. };
  59. #endif // __CYS_CUSTOMSERVERPAGE_H