desfiledlg.h

来自「密码学实验 SDES」· C头文件 代码 · 共 70 行

H
70
字号
#if !defined(AFX_DESFILEDLG_H__A0EB5BA1_AFAB_463A_A402_3DF39ED67DE2__INCLUDED_)
#define AFX_DESFILEDLG_H__A0EB5BA1_AFAB_463A_A402_3DF39ED67DE2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DesFileDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDesFileDlg dialog
#include "SDes.h"

UINT DesThread(LPVOID lparam);

const byte DO_DES   = 0;
const byte DO_UNDES = 1;

class CDesFileDlg : public CDialog
{
// Construction
public:
	CDesFileDlg(CWnd* pParent = NULL);   // standard constructor
	
	byte operate;
	bool isdo;
	void EnableVcl(byte type);
// Dialog Data
	//{{AFX_DATA(CDesFileDlg)
	enum { IDD = IDD_DESFILE };
	CButton	m_exit;
	CButton	m_undo;
	CButton	m_undes;
	CButton	m_des;
	CEdit	m_time;
	CProgressCtrl	m_pro;
	CString	m_ifile;
	CString	m_ofile;
	CString	m_key;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDesFileDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDesFileDlg)
	virtual void OnOK();
	afx_msg void OnGetifile();
	afx_msg void OnGetofile();
	afx_msg void OnDes();
	afx_msg void OnUndes();
	virtual BOOL OnInitDialog();
	afx_msg void OnUndo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DESFILEDLG_H__A0EB5BA1_AFAB_463A_A402_3DF39ED67DE2__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?