📄 pwkeyencryptdlg.h
字号:
// PWKeyEncryptDlg.h : header file
//
#if !defined(AFX_PWKEYENCRYPTDLG_H__861D2C98_5F31_417A_BC09_BD8F82909142__INCLUDED_)
#define AFX_PWKEYENCRYPTDLG_H__861D2C98_5F31_417A_BC09_BD8F82909142__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "KeyFile.h"
/////////////////////////////////////////////////////////////////////////////
// CPWKeyEncryptDlg dialog
class CPWKeyEncryptDlg : public CDialog
{
// Construction
public:
int DisplayMessage(CString& strMsg, UINT nType);
void SaveIniFile();
void UpdateKeyFileInfo();
BOOL LoadIniFile();
CPWKeyEncryptDlg(CWnd* pParent = NULL); // standard constructor
void EncryptKeys();
// Dialog Data
//{{AFX_DATA(CPWKeyEncryptDlg)
enum { IDD = IDD_PWKEYENCRYPT_DIALOG };
CButton m_butEncrypt;
CProgressCtrl m_Progress;
CEdit m_editKeyFile;
CEdit m_editOutputDir;
CEdit m_editIniFile;
BOOL m_bEncrypt;
CString m_strFileFormat;
CString m_strIniFile;
CString m_strKeyFile;
int m_nNumKeys;
int m_nStartKey;
CString m_strOutputDir;
CString m_strSample;
CString m_strKeyInfo;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPWKeyEncryptDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void UpdateFileNameSample();
HICON m_hIcon;
CKeyFile m_KeyFile;
// Generated message map functions
//{{AFX_MSG(CPWKeyEncryptDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnChangeEditFileformat();
virtual void OnOK();
afx_msg void OnChangeEditKeyfile();
afx_msg void OnChangeEditNumkeys();
afx_msg void OnChangeEditStartkey();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
int m_nKeysAvailable;
BOOL m_bFormatValid;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PWKEYENCRYPTDLG_H__861D2C98_5F31_417A_BC09_BD8F82909142__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -