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.

76 lines
1.4 KiB

  1. // Copyright (c) 2001 Microsoft Corporation
  2. //
  3. // File: DnsForwarderPage.h
  4. //
  5. // Synopsis: Declares the DNS forwarder page used in the
  6. // Express path for the CYS Wizard
  7. //
  8. // History: 05/17/2001 JeffJon Created
  9. #ifndef __CYS_DNSFORWARDERPAGE_H
  10. #define __CYS_DNSFORWARDERPAGE_H
  11. #include "CYSWizardPage.h"
  12. class DNSForwarderPage : public CYSWizardPage
  13. {
  14. public:
  15. // Constructor
  16. DNSForwarderPage();
  17. // Destructor
  18. virtual
  19. ~DNSForwarderPage();
  20. // Dialog overrides
  21. virtual
  22. void
  23. OnInit();
  24. // PropertyPage overrides
  25. virtual
  26. bool
  27. OnSetActive();
  28. virtual
  29. bool
  30. OnCommand(
  31. HWND windowFrom,
  32. unsigned controlIDFrom,
  33. unsigned code);
  34. virtual
  35. bool
  36. OnNotify(
  37. HWND windowFrom,
  38. UINT_PTR controlIDFrom,
  39. UINT code,
  40. LPARAM lParam);
  41. protected:
  42. // CYSWizardPage overrides
  43. virtual
  44. int
  45. Validate();
  46. private:
  47. void
  48. SetWizardButtons();
  49. // not defined: no copying allowed
  50. DNSForwarderPage(const DNSForwarderPage&);
  51. const DNSForwarderPage& operator=(const DNSForwarderPage&);
  52. };
  53. #endif // __CYS_DNSFORWARDERPAGE_H