Files

29 lines
730 B
C
Raw Permalink Normal View History

2021-10-19 21:27:23 +01:00
// PasswordDialog.h
2023-09-24 03:13:03 +01:00
#ifndef ZIP7_INC_PASSWORD_DIALOG_H
#define ZIP7_INC_PASSWORD_DIALOG_H
2021-10-19 21:27:23 +01:00
#include "../../../Windows/Control/Dialog.h"
#include "../../../Windows/Control/Edit.h"
#include "PasswordDialogRes.h"
class CPasswordDialog: public NWindows::NControl::CModalDialog
{
NWindows::NControl::CEdit _passwordEdit;
2023-09-24 03:13:03 +01:00
virtual void OnOK() Z7_override;
virtual bool OnInit() Z7_override;
virtual bool OnButtonClicked(unsigned buttonID, HWND buttonHWND) Z7_override;
2021-10-19 21:27:23 +01:00
void SetTextSpec();
void ReadControls();
public:
UString Password;
bool ShowPassword;
CPasswordDialog(): ShowPassword(false) {}
2023-09-24 03:13:03 +01:00
INT_PTR Create(HWND parentWindow = NULL) { return CModalDialog::Create(IDD_PASSWORD, parentWindow); }
2021-10-19 21:27:23 +01:00
};
#endif