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

📄 keyworddlg.h

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

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// KeywordDlg.h : header file
//
#include "Keyword.h"
#include "Playfair.h"
#include "myMouse.h"
#include "TaskbarNotifier.h"
/////////////////////////////////////////////////////////////////////////////
// CKeywordDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CKeywordDlg)
	enum { IDD = IDD_KEYWORD };
	CString	m_cipherFile;
	CString	m_cipherString;
	CString	m_plainFile;
	CString	m_plainString;
	int		m_radio;
	CString	m_key;
	CString	m_at;
	CString	m_suba;
	CString	m_subb;
	CString	m_subc;
	CString	m_subd;
	CString	m_sube;
	CString	m_subf;
	CString	m_subg;
	CString	m_subh;
	CString	m_subi;
	CString	m_subj;
	CString	m_subk;
	CString	m_subl;
	CString	m_subm;
	CString	m_subn;
	CString	m_subo;
	CString	m_subp;
	CString	m_subq;
	CString	m_subr;
	CString	m_subs;
	CString	m_subt;
	CString	m_subu;
	CString	m_subv;
	CString	m_subw;
	CString	m_subx;
	CString	m_suby;
	CString	m_subz;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CKeywordDlg)
	public:
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = adjustBorder);
	//}}AFX_VIRTUAL

// Implementation
protected:
	bool CheckKeyBox();
	void ShowKey();
	void DecipherFile();
	void DecipherString();
	void EncipherFile();
	void EncipherString();
	int m_iMethod;
	char crib[200];
	char sub[200];
	CString key;
	CString kk;
	HCURSOR m_hArrow;
	HCURSOR m_hHand;
	HCURSOR m_hBeam;
	HCURSOR m_hPen;
	HCURSOR m_hMove;
	void ShowFileGroup(bool bShow);
	void ShowStringGroup(bool bShow);
	CToolTipCtrl m_tooltip;
	virtual BOOL OnInitDialog();
	void ShowSubstitution(CString m_at, CString &kk);

	// Generated message map functions
	//{{AFX_MSG(CKeywordDlg)
	afx_msg void OnRadioString();
	afx_msg void OnRadioFile();
	afx_msg void OnEncipher();
	afx_msg void OnDecipher();
	afx_msg void OnOpenPlain();
	afx_msg void OnOpenCipher();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnSetkey();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnCancelMode();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_KEYWORDDLG_H__0136CDDF_FDD2_42BA_A1CC_BCF232578172__INCLUDED_)

⌨️ 快捷键说明

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