⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 desdlg.h

📁 1、对于凯撒密文
💻 H
字号:
#if !defined(AFX_DESDLG_H__26D2BE6E_D780_4CA3_9D72_B272CB1A7FCB__INCLUDED_)
#define AFX_DESDLG_H__26D2BE6E_D780_4CA3_9D72_B272CB1A7FCB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DesDlg.h : header file
//
#include <bitset>
#include <cmath>
#include <bitset>
#include "Des.h"
#include "TaskbarNotifier.h"
using namespace std;

/////////////////////////////////////////////////////////////////////////////
// CDesDlg dialog

class CDesDlg : public CDialog
{
// Construction
public:
//	CComQIPtr<ISkin> pSkin2;
	CTaskbarNotifier * m_wndTaskbarNotifier;
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	UINT m_decFbkKey;
	UINT m_decInitKey;
	CDesDlg(CWnd* pParent = NULL);   // standard constructor
	CBrush m_brush;

// Dialog Data
	//{{AFX_DATA(CDesDlg)
	enum { IDD = IDD_DES };
	CString	m_cipherFile;
	CString	m_cipherString;
	CString	m_plainFile;
	CString	m_plainString;
	int		m_radio;
	CString	m_key;
	//}}AFX_DATA


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

// Implementation
protected:
	bool CheckKey();
	void DecipherFile();
	void DecipherString();
	void EncipherFile();
	void EncipherString();
	void ShowFileGroup(bool bShow);
	int m_iMethod;
	void ShowStringGroup(bool bShow);
//	void ShowKey();
	CToolTipCtrl m_tooltip;
	virtual BOOL OnInitDialog();
//	UINT Convert_sBin2Int(CString sbin);
//	CString Convert_Hex2Bin(char hex);
//	UINT Convert_sHex2Int(CString m_hex);
//	bool CheckKey();
	HCURSOR m_hArrow;
	HCURSOR m_hHand;
	HCURSOR m_hBeam;
	HCURSOR m_hPen;
	HCURSOR m_hMove;
	// Generated message map functions
	//{{AFX_MSG(CDesDlg)
	afx_msg void OnSetkey();
	afx_msg void OnEncipher();
	afx_msg void OnDecipher();
	afx_msg void OnRadioString();
	afx_msg void OnRadioFile();
	afx_msg void OnOpenPlain();
	afx_msg void OnOpenCipher();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DESDLG_H__26D2BE6E_D780_4CA3_9D72_B272CB1A7FCB__INCLUDED_)

⌨️ 快捷键说明

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