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

📄 ideadlg.h

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

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

/////////////////////////////////////////////////////////////////////////////
// CIdeaDlg dialog

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

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


// OverriIdea
	// ClassWizard generated virtual function overriIdea
	//{{AFX_VIRTUAL(CIdeaDlg)
	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(CIdeaDlg)
	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_IDEADLG_H__4AED4DCC_CDA0_44FA_AD8C_6A973CC4C0C5__INCLUDED_)

⌨️ 快捷键说明

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