📄 filedlg.h
字号:
#if !defined(AFX_FILEDLG_H__FD656FBE_2324_4FCE_A836_601A42543108__INCLUDED_)
#define AFX_FILEDLG_H__FD656FBE_2324_4FCE_A836_601A42543108__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FileDlg.h : header file
//
#include <afxmt.h>
#include "CRijndael.h"
#include "TextProgressCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CFileDlg dialog
class CFileDlg : public CDialog
{
// Construction
public:
void Out();
CFileDlg(CWnd* pParent = NULL); // standard constructor
private:
long m_FileLength;
bool CheckSpace(CString path);
int EnOrDecrypt;
CString m_key;
CString FileName;
CRijndael aes;
CWinThread *pMyThread;//构造工作线程类
static UINT MyThreadProc(LPVOID pParam);//工作线程处理函数
// Dialog Data
//{{AFX_DATA(CFileDlg)
enum { IDD = IDD_FILEDLG };
CStatic m_MsgState;
CEdit m_UsedTime;
CTextProgressCtrl m_progress;
CString m_sfilename;
CString m_cfile;
CString m_enfile;
CString m_ext;
CString m_filelen;
CString m_pfile;
CString m_time;
CString m_state;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFileDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFileDlg)
afx_msg void OnSFBrowse();
afx_msg void OnEnFBrowse();
afx_msg void OnMFBrowse();
afx_msg void OnPFBrowse();
afx_msg void OnEncryp();
virtual BOOL OnInitDialog();
afx_msg void OnDecryp();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnChangeExt();
afx_msg void OnButClear();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILEDLG_H__FD656FBE_2324_4FCE_A836_601A42543108__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -