This commit is contained in:
Igor Pavlov
2003-12-11 00:00:00 +00:00
committed by Kornel Lesiński
commit 8c1b5c7b7e
982 changed files with 118799 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
// PasswordDialog.h
#pragma once
#ifndef __PASSWORDDIALOG_H
#define __PASSWORDDIALOG_H
#include "Windows/Control/Dialog.h"
#include "Windows/Control/Edit.h"
#include "resource.h"
class CPasswordDialog: public NWindows::NControl::CModalDialog
{
NWindows::NControl::CEdit _passwordControl;
virtual void OnOK();
virtual bool OnInit();
virtual bool OnButtonClicked(int buttonID, HWND buttonHWND);
public:
CSysString _password;
INT_PTR Create(HWND parentWindow = 0)
{ return CModalDialog::Create(MAKEINTRESOURCE(IDD_DIALOG_PASSWORD), parentWindow); }
};
#endif