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.

51 lines
841 B

  1. // Copyright (c) 2000 Microsoft Corporation
  2. //
  3. // Dlg to inform user of a bad computer name
  4. //
  5. // 21 Aug 2000 sburns
  6. #ifndef BADCOMPUTERNAMEDIALOG_HPP_INCLUDED
  7. #define BADCOMPUTERNAMEDIALOG_HPP_INCLUDED
  8. class BadComputerNameDialog : public Dialog
  9. {
  10. public:
  11. explicit
  12. BadComputerNameDialog(const String& message_);
  13. virtual ~BadComputerNameDialog();
  14. protected:
  15. // Dialog overrides
  16. virtual
  17. bool
  18. OnCommand(
  19. HWND windowFrom,
  20. unsigned controlIdFrom,
  21. unsigned code);
  22. virtual
  23. void
  24. OnInit();
  25. private:
  26. String message;
  27. // not defined: no copying allowed
  28. BadComputerNameDialog(const BadComputerNameDialog&);
  29. const BadComputerNameDialog& operator=(const BadComputerNameDialog&);
  30. };
  31. #endif // BADCOMPUTERNAMEDIALOG_HPP_INCLUDED