📄 playfairdlg.h
字号:
#if !defined(AFX_PLAYFAIRDLG_H__0618BBFF_D606_440C_9F82_7DEE10119980__INCLUDED_)
#define AFX_PLAYFAIRDLG_H__0618BBFF_D606_440C_9F82_7DEE10119980__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PlayfairDlg.h : header file
//
#include <utility>
#include "Playfair.h"
#include "myMouse.h"
#include "TaskbarNotifier.h"
using namespace std;
/////////////////////////////////////////////////////////////////////////////
// CPlayfairDlg dialog
class CPlayfairDlg : public CDialog
{
// Construction
public:
// CComQIPtr<ISkin> pSkin2;
CTaskbarNotifier * m_wndTaskbarNotifier;
pair<int,int> m_letterPosition[150];
char grid[5][5];
virtual BOOL PreTranslateMessage(MSG* pMsg);
CPlayfairDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPlayfairDlg)
enum { IDD = IDD_PLAYFAIR };
CString m_key;
int m_radio;
CString m_key1;
CString m_key10;
CString m_key11;
CString m_key12;
CString m_key13;
CString m_key14;
CString m_key15;
CString m_key16;
CString m_key17;
CString m_key18;
CString m_key19;
CString m_key2;
CString m_key20;
CString m_key21;
CString m_key22;
CString m_key23;
CString m_key24;
CString m_key25;
CString m_key3;
CString m_key4;
CString m_key5;
CString m_key6;
CString m_key7;
CString m_key8;
CString m_key9;
CString m_cipherFile;
CString m_cipherString;
CString m_plainFile;
CString m_plainString;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPlayfairDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HCURSOR m_hArrow;
HCURSOR m_hHand;
HCURSOR m_hBeam;
HCURSOR m_hPen;
HCURSOR m_hMove;
void DecipherFile();
void DecipherString();
void EncipherFile();
void EncipherString();
void Showkey();
void Setkey(CString m_key);
CToolTipCtrl m_tooltip;
virtual BOOL OnInitDialog();
void ShowFileGroup(bool bShow);
void ShowStringGroup(bool bShow);
int m_iMethod;
// Generated message map functions
//{{AFX_MSG(CPlayfairDlg)
afx_msg void OnSetkey();
afx_msg void OnRadioString();
afx_msg void OnRadioFile();
afx_msg void OnOpenPlain();
afx_msg void OnOpenCipher();
afx_msg void OnEncipher();
afx_msg void OnDecipher();
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PLAYFAIRDLG_H__0618BBFF_D606_440C_9F82_7DEE10119980__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -