mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 02:11:40 -06:00
3.13
This commit is contained in:
24
7zip/FileManager/Resource/PasswordDialog/PasswordDialog.h
Executable file
24
7zip/FileManager/Resource/PasswordDialog/PasswordDialog.h
Executable 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
|
||||
Reference in New Issue
Block a user