mirror of https://github.com/tongzx/nt5src
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
54 lines
874 B
// 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
|
|
|