windows-nt/Source/XPSP1/NT/admin/dcpromo/exe/getcredentialsdialog.hpp

55 lines
874 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
// Copyright (c) 1997-1999 Microsoft Corporation
//
// Dlg to get credentials for browsing domain forest
//
// 1-8-98 sburns
#ifndef GETCREDENTIALSDIALOG_HPP_INCLUDED
#define GETCREDENTIALSDIALOG_HPP_INCLUDED
class GetCredentialsDialog : public Dialog
{
public:
explicit
GetCredentialsDialog(const String& failureMessage);
virtual ~GetCredentialsDialog();
protected:
// Dialog overrides
virtual
bool
OnCommand(
HWND windowFrom,
unsigned controlIDFrom,
unsigned code);
virtual
void
OnInit();
private:
void
Enable();
String failureMessage;
// not defined: no copying allowed
GetCredentialsDialog(const GetCredentialsDialog&);
const GetCredentialsDialog& operator=(const GetCredentialsDialog&);
};
#endif // GETCREDENTIALSDIALOG_HPP_INCLUDED