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.

66 lines
951 B

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. //
  3. // "More" dialog (spawned from IDChanges)
  4. //
  5. // 3-11-98 sburns
  6. #ifndef MOREDLG_HPP_INCLUDED
  7. #define MOREDLG_HPP_INCLUDED
  8. class MoreChangesDialog : public Dialog
  9. {
  10. public:
  11. MoreChangesDialog(bool isPersonal);
  12. virtual ~MoreChangesDialog();
  13. enum ExecuteResult
  14. {
  15. NO_CHANGES,
  16. CHANGES_MADE
  17. };
  18. // hides Dialog::ModalExecute
  19. ExecuteResult
  20. ModalExecute(HWND parent);
  21. protected:
  22. // Dialog overrides
  23. virtual
  24. bool
  25. OnCommand(
  26. HWND windowFrom,
  27. unsigned controlIDFrom,
  28. unsigned code);
  29. virtual
  30. void
  31. OnInit();
  32. private:
  33. int
  34. OnOkButton();
  35. void
  36. enable();
  37. // no copying allowed
  38. MoreChangesDialog(const MoreChangesDialog&);
  39. const MoreChangesDialog& operator=(const MoreChangesDialog&);
  40. bool startingSyncDnsNames;
  41. bool fIsPersonal;
  42. };
  43. #endif // MOREDLG_HPP_INCLUDED