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.

54 lines
874 B

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. //
  3. // Dlg to get credentials for browsing domain forest
  4. //
  5. // 1-8-98 sburns
  6. #ifndef GETCREDENTIALSDIALOG_HPP_INCLUDED
  7. #define GETCREDENTIALSDIALOG_HPP_INCLUDED
  8. class GetCredentialsDialog : public Dialog
  9. {
  10. public:
  11. explicit
  12. GetCredentialsDialog(const String& failureMessage);
  13. virtual ~GetCredentialsDialog();
  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. void
  27. Enable();
  28. String failureMessage;
  29. // not defined: no copying allowed
  30. GetCredentialsDialog(const GetCredentialsDialog&);
  31. const GetCredentialsDialog& operator=(const GetCredentialsDialog&);
  32. };
  33. #endif // GETCREDENTIALSDIALOG_HPP_INCLUDED