📄 caesardedlg.h
字号:
#if !defined(AFX_CAESARDEDLG_H__80728700_2EA6_492B_AF75_3B452CEC42D7__INCLUDED_)
#define AFX_CAESARDEDLG_H__80728700_2EA6_492B_AF75_3B452CEC42D7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CaesarDeDlg.h : header file
//
#include "Dictionary.h"
#include "time.h"
#include "TaskbarNotifier.h"
/////////////////////////////////////////////////////////////////////////////
// CCaesarDeDlg dialog
class CCaesarDeDlg : public CDialog
{
// Construction
public:
// CComQIPtr<ISkin> pSkin2;
virtual BOOL PreTranslateMessage(MSG* pMsg);
CCaesarDeDlg(CWnd* pParent = NULL); // standard constructor
int m_iMethod;
int m_shift;
int cont;
clock_t start;
clock_t finish;
CString time;
CDictionary * m_pDictionary;
DWORD dwTetraThreadId;
HANDLE hTetraThread;
DWORD m_dwThreadId;
HANDLE m_hThread;
CTaskbarNotifier * m_wndTaskbarNotifier;
// CComQIPtr<ISkin> pSkin;
// Dialog Data
//{{AFX_DATA(CCaesarDeDlg)
enum { IDD = IDD_CAESAR_DE };
CEdit m_plainCtrl;
CString m_cipherString;
CString m_plainString;
int m_radio;
CString m_time;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCaesarDeDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CString BuildSuggestions(const CString & strWord, bool bCaseOnly);
void Getsuggestion(CString& str);
CToolTipCtrl m_tooltip;
void DecipherN();
void ShowTime();
int CountString(CString &str);
void DecipherM();
int CountMost(CString & str);
void ShowSub(int shift);
bool CheckString(CString & str);
void DecipherP();
bool DecipherH();
HCURSOR m_hArrow;
HCURSOR m_hHand;
HCURSOR m_hBeam;
HCURSOR m_hPen;
HCURSOR m_hMove;
// Generated message map functions
//{{AFX_MSG(CCaesarDeDlg)
afx_msg void OnDecipher();
afx_msg void OnModifyLeft();
afx_msg void OnModifyRight();
afx_msg void OnRadioP();
afx_msg void OnRadioH();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual BOOL OnInitDialog();
afx_msg void OnRadioM();
afx_msg void OnRadioK();
afx_msg void OnRadioN();
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_CAESARDEDLG_H__80728700_2EA6_492B_AF75_3B452CEC42D7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -